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

Identify Bonded Devices through Advertisement

Is it possible to identify a device as a previously bonded peer based on the advertisement package and before establishing a connection?

I would like to be able to bond to devices when booted into a 'bonding mode' and then automatically connect to these previously bonded devices only when booting into 'normal mode'.

Parents Reply Children
  • I am using the Nordic motherboard for now, but ultimately it will be an Android device. I am able to bond with a device, and store that bonding information (based on multilink example), but I can't figure out how to add the IRK of a bonded device to the whitelist for future connections.

    I think I might be misunderstanding how whitelisting works. Is the whitelist implemented on the central or peripheral? I was under the impression that the central would add a peripheral to its whitelist after bonding and then the devices would be able to connect when the central is doing selective scanning. However all the examples I see seem to implement the whitelist on the peripheral side.

  • Whitelisting can be enabled both on central and peripheral. Central will use it for selective scanning and advertiser will use it for selective acceptance on connection/scan requests from central. Please look into this post.

Related