Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi,
Could anyone please point me to an example how to use GattServer::areUpdatesEnabled()? I can't get it working.
The idea is that my device (a peripheral) updates a characteristic with some measurement values when notifications are enabled so that the central can receive them immediately. On the contrary, when disconnected or notifications are disabled the measurements are saved on the device and get uploaded when notifications will be enabled again. Do you see any major flaw with this approach?
I use nRF52-DK.
Many thanks, -Tamás