I just modified hello_sensor to use 2 bytes instead of 7 and tested with various values including ffff. Lighblue displayed them just fine.
Could you please elaborate?
I am not sure what else to say. Following is the change that I did in the database
CHARACTERISTIC_UUID128 (0x0029, HANDLE_HELLO_SENSOR_VALUE_NOTIFY, UUID_HELLO_CHARACTERISTIC_NOTIFY,
LEGATTDB_CHAR_PROP_READ | LEGATTDB_CHAR_PROP_NOTIFY | LEGATTDB_CHAR_PROP_INDICATE,
and in the interrupt handler
Light Blue application is available through Apple Store.
Thanks. Just wanted to make sure I didn't miss any declarations of any sort.
Turns out the issue was the application I was using was not able to view these values (for some reason). By switching over to a different app I was able to see the values I was writing into the characteristic.