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

ANCS example is not allowing connection to a different iPhone after disconnect

While attempting to test multiple iPhone models on the ANCS example, I'm finding that even after I forget the nRF DK from the iPhone's Bluetooth menu, I have to reset the board with button 2 held to erase bonds before I'm able to connect to a different iPhone. Without doing this, the iPhone's connection appears to be refused immediately by the board without sending any bluetooth event notices or system event notices.

So while I am fairly sure this behavior is because of the device manager module, I'm trying to figure out how to handle this from an application standpoint.

Is there a setting in device_manager_cnfg.h that can be changed to handle more phones?

Is there something I can call in the DM module after a disconnect that will allow another phone to connect after the first one disconnects?

Is there a reason no event is sent out when the connection is refused?

Related