notify not updating values in nRF Connect
Gibbz opened this issue · 2 comments
Gibbz commented
I'm trying to get my ble notifications to auto update on nRF Connect android app.
Ive selected the button to subscribe to notifications in the app.
I'm unsure if this is a bug with the app, my code, or the library. Basically I have the following snips of code. I assume this is all I need to do to get it to work?
Set characteristic
trip_duration_characteristic = user_data_service->createCharacteristic(
(uint16_t) 0x2BF2,
NIMBLE_PROPERTY::READ |
NIMBLE_PROPERTY::NOTIFY);
Apply a value, and notify
trip_duration_characteristic->setValue(value);
trip_duration_characteristic->notify();
h2zero commented
Your code looks fine, could you set the log level to debug and share logs of the notification being sent?
h2zero commented
Closing this as there has been no response, please reopen if still an issue.