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

Switch between paired central devices

I am using nrf51822 with SDK12.3 + S130 as a BLE peripheral device. I want to pair it to multiple central devices and use button to switch between them.

I tried to filter out unwanted central devices from whitelist before start advertising, but seems the central devices can still setup the connection(because of IRK?).

Then I want to try with switching peripheral address. My plan is to pair each central with a different BLE address. I tried to call pm_id_addr_set() after I initilized peer manager but before start advertising, it seems no effect. Any example code for how to use pm_id_addr_set()?

Can I use this way to solve my problem?

Related