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

One set of paired devices

Hi,

I have two nrf51 devices one is the master and other a slave device. I need to lock these two devices permanently. What I mean is that these two devices can only connect to each other but not any other device. My requirement is as follows.

1.) The master should only look for the corresponding slave and connect to it.

2.) The slave should advertise to announce itself but only accept connection request from corresponding master.

3.) Is there a possibility to make connection between master and slave without advertisements from slave?

Could you suggest what is the best method. I am currently using sdk version 10.

Thanks in advance

  • Hi,

    1.) You can enable whitelisting on the central to connect to a given set of peripherals only.

    2.) You can enable whitelisting on the peripheral to accept connections from a given set of centrals only. You can also use directed advertising to advertise to one selected central only.

    3.) The peripheral must advertise to get incoming connection requests from centrals, but as stated above it can use directed advertising to advertise to one central only.

    There is some limited information about whitelisting and directed whitelisting in the documentation for the advertising module and for the (new, experimental, to replace device manager) peer manager.

    Regards, Terje

Related