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

How to early detect notification enabling (writting 1 to CCCD)?

Hi I would like to, at app level, implement access control to characteristic. My characteristic is configured solely as notify (no read, no writing).

When a smartphone turns on the notify feature of the characteristic I would like to decided if it can go one (and receive notifications) or deny it and disconnect (no permission to turn n notification).


Is it possible to implement that? How?

How can I early detect that a smartphone is just trying to write 1 to the CCCD?


Thanks a lot

Alex