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

[nRF8001] CCCD has no Write permission

I added a local service with a characteristic with the Notify permission set. On the device I'm connecting from to the nRF8001, I can see my custom characteristic has a 0x2902 (CCCD) descriptor. However, it has no permissions enabled, and thus I cannot write to it to enable notifications. If I try anyway, I don't get a PipeStatusEvent on the nRF8001.

The devices are not paired (using Bond), but only connected (using Connect).

What is wrong with my setup?

Parents
  • Hi,

    I cannot see anything in particular that is wrong with your setup, except that you are using the Bluetooth Base UUID. For proprietary services it is recommended that you use a proprietary base UUID instead. This can be generated in nRFgo studio. It would also make sense to add this UUID to the advertisement packer so you can see which services is on a device before connecting to it. However this wouldn't fix your problem of not being able to write to the CCCD. What peer device are you using to test this? Have you tried using the master control panel?

    Best regards,

Reply
  • Hi,

    I cannot see anything in particular that is wrong with your setup, except that you are using the Bluetooth Base UUID. For proprietary services it is recommended that you use a proprietary base UUID instead. This can be generated in nRFgo studio. It would also make sense to add this UUID to the advertisement packer so you can see which services is on a device before connecting to it. However this wouldn't fix your problem of not being able to write to the CCCD. What peer device are you using to test this? Have you tried using the master control panel?

    Best regards,

Children
No Data
Related