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

how to design only ble central and peripheral device to connect each other and none other.

Hi, I am using nrf51822 ble module. I want to have multiple such modules which could connect to a central device. How could I make it that the central device encourages only connection to my specific peripheral devices and none other Bluetooth devices around(like private mobiles,laptops etc.).

Parents
  • I haven't used this central device before, so I can only suggest solutions from what I read in the user guide.

    You can filter on the address or something included in the advertising packet, name, UUID etc.

    You get the address by using scan on and you can get the content of the advertising packet with by using info <dev>

    Maybe you already knew this and wanted help on making a script that handles this, but that I'm unable to help you with. Maybe someone else can.

Reply
  • I haven't used this central device before, so I can only suggest solutions from what I read in the user guide.

    You can filter on the address or something included in the advertising packet, name, UUID etc.

    You get the address by using scan on and you can get the content of the advertising packet with by using info <dev>

    Maybe you already knew this and wanted help on making a script that handles this, but that I'm unable to help you with. Maybe someone else can.

Children
Related