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

How to get the count of available unique beacons while in observe mode?

Hi 

I have N number of beacons and one observer having nrf52832. I want to have the number of unique beacons available in the scanning range.

Do the s132 soft device provide such detail in application layer? I have checked the structures in file "components/softdevice/s132/headers/ble_gap.h" but didn't find any field which yield the count of beacons. I am using nrf_sdk_15.0.0.

Any help is appreciated.

Thanks,

Digesh

Parents
  • Hi,

    If you open any of the ble_central examples you should find that the softdevice will forward all advertisement reports to the application for handling. This means that for each advertisement received the application will receive an BLE_GAP_EVT_ADV_REPORT event, and the application can then buffer the advertisement information as it see fit, there is no limitation here (other than RAM size possible).

    Best regards,
    Kenneth

Reply
  • Hi,

    If you open any of the ble_central examples you should find that the softdevice will forward all advertisement reports to the application for handling. This means that for each advertisement received the application will receive an BLE_GAP_EVT_ADV_REPORT event, and the application can then buffer the advertisement information as it see fit, there is no limitation here (other than RAM size possible).

    Best regards,
    Kenneth

Children
No Data
Related