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

Ignore whitelist when scanning beacons

Hi,

In these conditions "custom device connected+bonded and whitelist enabled", when the device scan for beacons it see only the smartphone bonded to the device (don't see the beacons simulated by the smartphone)

is it possible to disable whitelist just for the scan?

the scan is configured as below:

        .extended    = 0,
        .active          = passive_scan,
        .filter_policy = BLE_GAP_SCAN_FP_ACCEPT_ALL,
        .interval        = MSEC_TO_UNITS(130, UNIT_0_625_MS),
        .window        = MSEC_TO_UNITS(120, UNIT_0_625_MS),
        .timeout        = 0, /* none timeout by default  - set by application */

SDK16, SD7.0.1, nrf52832, custom device, custom application

Parents Reply
  • Hello Joakim,

    My problem is not in advertisement module but in scanning module.

    What I want is that my device:

    1- advertise with whitelist, the only central that could connect is the bonded one

    2- When connected to a central it (the device) could make a scan for beacons (geolocation feature)

    My problem is that when connected to a central, my device make a scan and it see only the connected central address.

    My request is how to disable whitelist only for scanner module?

    Thanks Slight smile

Children
Related