Encrypt characteristics without encryption permission

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
juyu_1538976
Level 1
Level 1
First like given

We are currently developing the BLE that needs to have 2 modes: 1 is the test mode that do not need authentication and encryption, with only limited access of some  services and characteristics. Another one is normal mode, which require authentication and encryption, with full access to all services and characteristics.

As the ROM size and RAM size are approaching limit, I cannot export the GATT database to modify the permission to achieve the requirement.

However, I would like to know if the characteristics permission is set to "No Encryption required" and "No Authentication Required", will the data still be encrypted if the peripheral still paired/ bonded with the central?

All advise greatly appreciated.

Thanks

0 Likes
1 Solution
Yugandhar
Moderator
Moderator
Moderator
1000 replies posted 5 likes given First comment on blog

Hello,

When you pair/bond the peripheral device with the central and if you want to send/receive a data from the characteristic which has a permission set to "No Encryption required" and "No Authentication Required" then the data which you receive/send will be Encrypted data only.

Thanks,

P Yugandhar.

View solution in original post

2 Replies
Yugandhar
Moderator
Moderator
Moderator
1000 replies posted 5 likes given First comment on blog

Hello,

When you pair/bond the peripheral device with the central and if you want to send/receive a data from the characteristic which has a permission set to "No Encryption required" and "No Authentication Required" then the data which you receive/send will be Encrypted data only.

Thanks,

P Yugandhar.

Thank you very much for the answer.

0 Likes