cancel
Showing results for 
Search instead for 
Did you mean: 

WICED Smart Bluetooth

Anonymous
Not applicable

Hello,

We will be using a master 20737s to connect multiple 20737s slaves. We would like to connect with pairing and by looking at the hello client and hello sensor examples the API only accepts one key. The questions is how to manage multiple connections where each of them has its own pairing key ?

The API for setting the passkey looks like:

    lesmp_setSMPassKey((UINT8*)passKey,LESMP_MAX_KEY_SIZE);

    lesmp_setJustWorksNotPermitted();

As we can see the API is not "connection" aware, but it looks like it will use the same key for all the connections. More, our master will connect multiple devices and some of them will require pairing and some of them will not.

Thanks.

0 Likes
1 Solution
BoonT_56
Employee

Never seen this before but possible in theory. The developer will need to create an array to store a few sets of pass-key and device an algorithm on how to select which one to use.

View solution in original post

3 Replies
BoonT_56
Employee

Never seen this before but possible in theory. The developer will need to create an array to store a few sets of pass-key and device an algorithm on how to select which one to use.

View solution in original post

Anonymous
Not applicable

Thanks for confirming my worries.

We have a pairing schema where the slave advertises itself and withing the manufacturer data advertises some data which is the used as a hashing algorithm to compute the pin code. The pin code thus changes once in while and is not fixed. That's why we need to be able to set pairing keys for each device.

Moving forward we will probably have to wait for a SDK release. Do you have any timing about that ?

0 Likes
MichaelF_56
Moderator
Moderator

There are currently no plans to release a newer version of the WICED Smart SDK, which is the one needed for development on CYW2073X devices.

0 Likes