Hi,
is at the moment possible with S110 (nRF51 SDK) to whitelist only SOME of bonded peers? I need to allow connection from one selected central. Selection is made by user right before advertisement starts.
Thanks a lot,
Tom
Hi,
is at the moment possible with S110 (nRF51 SDK) to whitelist only SOME of bonded peers? I need to allow connection from one selected central. Selection is made by user right before advertisement starts.
Thanks a lot,
Tom
I see. So what should happend if you press button 2? Should the device put the device that bonded secondly in the whitelist? Or are you thinking of a more manual way of binding the buttons to central devices? For example that you press button 2 and then you connect and bond to a central, and then that central is bound to button 2? Should you be able to unbind central devices?
Yes, I was thinking of being more in charge of managing this bonding "slots". Eg. waking up with long-press will put my peripheral in undirected advertisement mode and first device connected and bonded will be (somehow) associated with slot dedicated to that button. And yes, user/application should have full control over unbinding and overwriting specific bonding slots.
Thank you, that should actually work. Although the process of cherry-picking newly added addr/irk from whitelist semms a bit desperate to me :) . Anyway, overall it is a very good idea, I will certainly try that. Thanks again. Tom.
Yes. I agree, but try it. If you figure out some other solution please consider posting it here. I should also mention that we are currently doing some work on the device manager. If you are interested in more information about this you can contact the Sales Manager for you area. If you don't know who it is, send me a PM with your location and I'll let you know.
So it turns out function dm_whitelist_create() returns IRK/addresses of bonds not being in CONNECTED state. Therefore you need to wait until peer disconnection to extract his (newly added) IRK/address, which is somewhat inconvenient.