-
• #2
Sorry for the delay - I missed this. I guess maybe for notifications to require encryption, it's actually the CCCD that needs to have the encrypted flag set on it.
What I'd suggest is maybe you check
NRF.getSecurityStatus
and then you don't doupdateServices
if you're not bonded? That way you won't end up pushing notifications out even if the device can request them
Hello,
I'm trying to figure out how-to require bonding to be notified about service value changes. I'm using nRF Connect for debugging and this only works partially:
Notifications work without bonding
Am I missing something? I tried doing for
notify
, what I did forread
but without success.Thanks in advance!