This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrf52832 connectivity

Hi team,

Is there a way to figure out the phone id (to identify the source of pairing) after the phone has paired with the nordic device?

Basically what we need is is:
Let us say Phone 1 pairs with the nordic device. Then, there is hand shake (data exchange) and hence device disconnects with Phone 1. Before disconnecting the device should store the phone id. 
Then Phone 2 pairs with the nordic device.  Then, there is hand shake (data exchange) and hence device disconnects with Phone 2.  Before disconnecting the device should store the phone id. 
 
Now i want the device to be selective in accepting paring requests. Lets say both Phone 1 and Phone 2 are trying to pair. I must be able to accept only pairing request from Phone 1 and not pair with Phone 2. Can we do this?
Please let me know if something is not clear.
cheers
Parents Reply Children
No Data
Related