How can I send 32bit ADC value as BLE notification? Can 32bit value be sent as one packet?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How can I send 32bit ADC value as BLE notification? Can 32bit value be sent as one packet?

1,566件の閲覧回数
smittal2
Contributor III

I'm trying to send an ADC output value using BLE notification characteristic. I'm using heart rate example code which sends a 16-bit value. Can I replace this with 32-bit value?

I'm using QN9080 chip 

ラベル(2)
タグ(3)
0 件の賞賛
返信
1 返信

1,437件の閲覧回数
ovidiu_usturoi
NXP Employee
NXP Employee

Hi smittal2@binghamton.edu‌, 

Heart rate example is based on the Bluetooth LE GATT specification https://www.bluetooth.com/specifications/gatt/.   If the value that you want to send is not related to the heart rate, my recommendation will be to use a custom profile, like the one defined in wireless_uart application. This application is already covering the use case of sending multiple data in one packet (check the BleApp_SendUartStream function usage).

Regards,

Ovidiu 

0 件の賞賛
返信