Out of Band (OOB) Bonding

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

cross mob
Anonymous
Not applicable

Hi All,

   

I'm building pairs of BLE enabled devices that will have to be connected to each other securely. I though of emulating the pairing and bonding procedure by saving the LTK to each pair at manufacturing time. This way, when the two devices see each other on the field, they should securely connect without any key exchange. Does the Cypress API support this use case? Maybe someone could show me an example how to do this?

   

Thanks,
-Tamás

0 Likes
1 Solution
Anonymous
Not applicable

You could store the keys to flash but emulating the pairing, bonding procedure might not be easy. I would suggest you use OOB pairing by setting the OOB key unique to one set of peripheral and central. So, the central and peripheral with the same OOB key can connect to each other. 

   

Here is an OOB example you could start off with:

   

https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day032_OOB...

View solution in original post

0 Likes
2 Replies
Anonymous
Not applicable

I suspect this is possible, but the details are beyond me; The cypress APIs store the data on the flash, so it might be simple or complex to program the connection data into the flash on programming the device.

0 Likes
Anonymous
Not applicable

You could store the keys to flash but emulating the pairing, bonding procedure might not be easy. I would suggest you use OOB pairing by setting the OOB key unique to one set of peripheral and central. So, the central and peripheral with the same OOB key can connect to each other. 

   

Here is an OOB example you could start off with:

   

https://github.com/cypresssemiconductorco/PSoC-4-BLE/tree/master/100_Projects_in_100_Days/Day032_OOB...

0 Likes