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

scanning for broadcast messages from an un-bonded device

Hi,

I want to scan for broadcast messages from a specific device that I never connect to (not bonded to for sure) and I want to filter out messages from other devices! 
to my understanding I can't add an un-bonded device to the whitelist! is this correct? and if so what is the best way to filter?

I'm using running on an nrf52832 and using SDK 11 with softdevice s132 v2.0.0!

Thanks,

Parents
  • Hi,

    Yes, you will not be able to add the device to the whitelist without having either the device address or IRK. But if you have one or both of this you can actually add the remote device to the whitelist if you use the SD functions directly. If you do not have these you need to parse every BLE_GAP_EVT_ADV_REPORT you get when scanning and try to find the correct device.

    Regardless, I would recommend you use a newer SDK. Since you are on nRF52832 you can use SDK 17.0.2 and S 132 v7.

Reply
  • Hi,

    Yes, you will not be able to add the device to the whitelist without having either the device address or IRK. But if you have one or both of this you can actually add the remote device to the whitelist if you use the SD functions directly. If you do not have these you need to parse every BLE_GAP_EVT_ADV_REPORT you get when scanning and try to find the correct device.

    Regardless, I would recommend you use a newer SDK. Since you are on nRF52832 you can use SDK 17.0.2 and S 132 v7.

Children
Related