3 Replies Latest reply on Aug 16, 2017 7:17 AM by MichaelF_56

    Pair with multiple devices

      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.