Bluetooth Low Energy (a.k.a Bluetooth LE, BTLE, Bluetooth Smart)

Checking if notifications are enabled

12 Dec 2016

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