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,551 次查看
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,422 次查看
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 项奖励
回复