How to create a whitelist on the Central device (Bluetooth)

1.5k Views Asked by At

I want to create a whitelist on the Central device. Because there is a lot of peripheral devices around and I just want to connect one peripheral device. First I register the address of the central device to the peripheral device. When I work with a single peripheral device and a single central device, connection establishes and I can send commands from the central device to the peripheral device. But when I have more than one peripheral device in the vicinity, I can not send commands to the peripheral device registered from the central device. So I decided to create whitelist on the central device to connect the peripheral device which I registered before. But I don't know how to create a whitelist on the Central device. Do you have any example? (except ble_app_hrs)

0

There are 0 best solutions below