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

Device still visible while advertising with whitelist

I've come across the following situation:

We have a device (nrf52) which uses fast advertising with whitelist after it has established a bond with a single phone. When the device restarts it begins directed advertising to the phone in the whitelist.

When we use a second phone and scan for bluetooth devices Android's default bluetooth scanner (Settings->Bluetooth), the advertising device doesn't show up in the list of available devices (which is a good thing!)

However, when we use nrfConnect -or our own app- on this phone and scan for devices, the device actually pops up in the list. Therefore the following questions arose:

  • Does nrfConnect search for any advertising device, including those that advertise to a specific address thus causing the device to show up? Or should it not show up and is our whitelist mechanism not correctly functioning?

  • Is anyone aware of a scanning filter might be applied for clearing out those devices that are using directed advertising to a different address and are therefore 'unsupported' for the current phone? (e.g. the filter the android 'default' scanner uses)

Looking forward to your replies!

Related