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

How to enable encryption for an particular characteristics data?

Hi. Is it possible to enable the encryption of data which corresponds to the particular characteristics? i tried with BLE_GAP_CONN_SEC_MODE_SET_ENC_NO_MITM, for setting the security level for the particular characteristics, but when i read or write on the characteristics it is showing INSUFFICIENT_AUTHENTICATION. Please suggest us on how to work with the encryption and decryption of an particular characteristics data.

Regards, Balaji

Related