This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Control of indications

In my device I send data using a characteristic with indications. The client sets the indication and data is then sent. I understand that when a device is bonded the values of characteristics remain, and the value of the indication is persistent. This will mean that on the next connection, data will be sent immediately.

However it is important that I read some of the characteristics before data is sent (such as the clock in the device).

Is there a mechanism to reset the value of indications on disconnect, so that my client can read the characteristics and then enable the indication?

Parents Reply
  • Hi again, 
    If you have control over the server side, you can decide not to send notification even if the CCCD value is set. You can have an extra flag to be set before you send the notification (independent from the CCCD value)

    If you are not planning to qualify for a certain Bluetooth SIG's profile, I don't see any problem to not re-enable CCCD on the server side if you choose to do that on a proprietary profile. 

Children
Related