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