Hi,
how can i pairing the nrf52 with only one phone?
Thanks, Anna
Hi,
how can i pairing the nrf52 with only one phone?
Thanks, Anna
One particular "phone" or just "any first device which comes"? Second case is trivial, first one more or less as well, just provides several ways how to distinguish that one magic peer;)
Hi endnode, Thanks you for the answer, i would like that my product must be pairing and bonded with only one phone!!!! The firs that it connects for example, I have read somethingh about whitelist, maybe can be the solution!!!
So then do pairing once and you are done, nothing to restrict. If your device is GAP Peripheral and you want to restrict connections from other peripherals then you can easily refuse (terminate) any unwanted connection with device which is not your peer. If you want to prevent even these short connections then you can use direct advertising but remember that it's just for devices which play "nicely" and according to the spec. If some rough Central wants to issue CONNECT_REQ packet even it is not targeted by directed advertisement it indeed can try it and it's up to your device to protect itself.
Hi endnode,
I don't uderstant what is tthe difference between your suggestion and Create a whitelist that i have found in this blog
I also think whitelist should be good enough. If you use SDK v12 or SDK v13, you can have a look at the ble_app_keyboard or ble_app_mouse. We use whitelist in those examples.