How to prevent bonding

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

cross mob
Anonymous
Not applicable

Hi, 

   

i need to have two modes. the 1. first mode is to allow secure bonding. if this has been successfull, i want to switch to a mode where only bonded devices can connect. what do i have to do, that only bonded devices can be conencted?

   

Running a PRoC CYBL11573,  Peripheral in Server mode with a custom Profile.

   

 

   

Thank you!

0 Likes
1 Solution
Anonymous
Not applicable

Hi,

   

As you are done with bonding, store the address of the client that has bonded The next time a client tries to establish a connection, compare the address of the client with the address stored already and if it doesn;t match, invoke a disconnecton at your perupheral.

   

Regards,

   

-Madhu Sudhan

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

Hi,

   

As you are done with bonding, store the address of the client that has bonded The next time a client tries to establish a connection, compare the address of the client with the address stored already and if it doesn;t match, invoke a disconnecton at your perupheral.

   

Regards,

   

-Madhu Sudhan

0 Likes
Anonymous
Not applicable

Thanks, 

   

is there an API for checking whether a device trying to connect is in the list of bonded devices or do i have to do it by hand?

   

 

   

thank you!

0 Likes