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

nRF52840 SDK16 - BLE Descriptors and Notifications

Hi everyone,

Following some tutorials as well some examples provided by SDK16 I was able to create a custom service with a characteristic that has read,write and notify properties.

What I've noticed so far is that in order to control notifications (enable/disable) we need to add a descriptor to attribute table namely CCCD. My questions are:

1. By adding a CCCD  is the standard way or general approach to enable/disable notifications?

2. What are the advantages of using CCCD? All the examples I've seen so far configure a CCCD in order to enable or disable notification, so I assume that is widely be used..

Thanks in advance

Nick

Related