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

Connect without advertising to a previously paired device

Hi,

We'd like to implement a feature that allows changing a BLE connection from [central device #1 -> peripheral] to [central device #2 -> same peripheral] (similar to Apple's Airpods).

Currently, trying to reconnect to a peripheral that is already connected to another central device simply fails.

Is there a way to force a connection to a peripheral that doesn't advertise? from previous topics it seems this wasn't possible in Softdevice 4.0, but we're using 5.0 and wondered if anything changed.

Thanks

  • FormerMember
    0 FormerMember in reply to ohtap

    No, there is no way to tell the central to stop it to re-connect (and then reject the connect request).

    If you don't want any devices at all to be able to connect to your device, your device can advertise with the 'non-connectable' flag set. When you want your device to be connectable again, just change that flag.

Related