Hi there,
I am working with softdevice v5.0.0, and trying to have central and peripheral do encryption.
The peripheral has a r/w characteristic, and another one with read with notify (cccd r/w), but no write.
When I enable BOND, LESC and the usual encryption options in peer manager, it seems to work with permisions ENC_NO_MITM or NO_ACCESS on the characteristics read or write. But if I set the cccd write with ENC_NO_MITM, that seems to break the notifications. Setting the cccd read with ENC_NO_MITM makes the SD complain with invalid params.
I have seen those permissions in some examples, and the code I have comes from an old SD v4.0.2 I belive.
Is there anything obvious I should be looking at, or any constrains I am breaking?
Regards