You are here

Bonding programmatically? | Cypress Semiconductor

Bonding programmatically?

Summary: 2 Replies, Latest post by Travis Heaver on 20 Jul 2016 01:45 PM PDT
Verified Answers: 0
Last post
Log in to post new comments.
Travis Heaver's picture
12 posts

I am wondering: it is possible to enable/disable bonding on the fly in the application code? Or would enabling/disabling the Encryption requirement on a specific characteristic accomplish the requirement to bond and thus give the same result? If so, how do you change that characteristic setting on the fly in application code


Thank you!


Srinath Lalpet's picture
Cypress Employee
3 posts

Hello Travis,

You can modify the security parameters on the fly by accessing the 'cyBle_authInfo' structure. This structure contains the default security settings of the device. Here you can set the bonding requirements. 

Encryption/Authentication requirement of a specific characteristic only define the permissions of the characteristics and have no relation with setting the bonding requirements.

Best Regards,

Travis Heaver's picture
12 posts


Thank you for your response! This seems to get me half way there. I am able to change the overall settings, however, I am not able to read any characteristic which has encryption required.


So it seems I need to disable the encryption requirement on the characteristic...

Log in to post new comments.