Is there any code example with BLE and 9DOF (Wirelings or Shield)?

Tacca · 2 · 3565

Tacca

  • Jr. Member
  • **
    • Posts: 8
    • View Profile
Hello,

I am using the UARTPassThrough example as basis to send 9DOF wirelings data with BLE.
However, since I have 2 sensors, I am starting to wonder if there is a better way to do this.

I am calling this twice per sample (each sample is a reading from 2 wirelings sensors), with some delay between them:

Code: [Select]
    if (!lib_aci_send_data(PIPE_UART_OVER_BTLE_UART_TX_TX, (uint8_t*)sendBuffer, sendLength))
    {
      SerialMonitorInterface.println(F("TX dropped!"));
    }

I am trying to wrap my head around the specifics of this command, so I am looking something to go guide me deep in the GATT configurations, characteristics, attributes, etc.

Is there any project or code example with that in mind?

I am using a stack of:
- TinyZero
- STBLE
- WirelingAdapter[9DOFWireling;9DOFWireling]

Thank you all in advance.


Jason

  • Administrator
  • Hero Member
  • *****
    • Posts: 106
  • TinyCircuits Employee
    • View Profile
This seems related to your other post. Do my replies there help? http://forum.tinycircuits.com/index.php?topic=2192.msg4957#msg4957
« Last Edit: July 15, 2021, 05:12:12 PM by Jason »


 

SMF spam blocked by CleanTalk