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

is it possibleto set discovery of nrf51Dk to only 5,6 phones by providing the mac address of phones?

i want to pair 5-6 phones to my ble chip and chip will not discoverable to others. any one know the code for this.? thanks in advance

Parents
  • Well you can perform directed advertisement with whitelist, proper BLE central devices should respect that and only whitelisted devices should detect it and connect. However you obviously cannot magically disappear from spectrum so your advertisement packets will be detected by all observing radios and those stacks which support it will pass this to the application (you can take any sniffer device as example). In case that some device don't respect broadcasted whitelist you can also disconnect from peripheral side right after CONNECT_REQ based on whatever information you receive (and peer MAC address is available to you).

    You can read more about advertisement with whitelist in SDK documentation here and here.

    Cheers Jan

Reply
  • Well you can perform directed advertisement with whitelist, proper BLE central devices should respect that and only whitelisted devices should detect it and connect. However you obviously cannot magically disappear from spectrum so your advertisement packets will be detected by all observing radios and those stacks which support it will pass this to the application (you can take any sniffer device as example). In case that some device don't respect broadcasted whitelist you can also disconnect from peripheral side right after CONNECT_REQ based on whatever information you receive (and peer MAC address is available to you).

    You can read more about advertisement with whitelist in SDK documentation here and here.

    Cheers Jan

Children
Related