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

Paer between to nRF51422 devices

I am working on a project which I wish to Paer between to nRF51422 devices and to use the auto reconnect between them.
there won't be any display so it must be automatically connect by using a ID
I use the proximity example.
can I using the ID of the bored ?

can somebody give me an example or help here thank you

  • Hi,

    You can use whitelist, either on the central, the peripheral, or both. When using a whitelist you filter on the BLE address.

    If you use whitelist on the central, it will only connect to devices that are in the whitelist.

    If you use whitelist on the peripheral, it will only accept connection attempts from devices that are in the whitelist. The Advertising Module has support for using whitelist. One example that uses whitelist, in order to limit connection to one peer, is the HID Mouse Application.

    You can also connect based on what services the peripheral is advertising. Most of our BLE Central examples do this for automatically connecting to a suitable peripheral.

    All the links above are to documentation for SDK 12.3, which I recommend for nRF51 development. It is the last SDK version that had support for nRF51.

    Regards,
    Terje

Related