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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

765 Views
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 

Labels (2)
Tags (3)
0 Kudos
1 Reply

636 Views
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 Kudos