Hi,
I'm using nRF51822 Beacon v1.1.0. Is it possible to detect that the beacon is being scanned? Is there any event generated during this process that I can catch?
Hi,
I'm using nRF51822 Beacon v1.1.0. Is it possible to detect that the beacon is being scanned? Is there any event generated during this process that I can catch?
Beacons will never enter receive mode and hence it will never receive the scan request. Beacons are a specific type of advertisements. So it's not possible to send a scan request to a beacon.
However for other applications, currently there's no scan request event currently available in the softdevice for the nRF51 either. This is a feature we are working on and want to have available.
Thx for reply.
The beacon can be scanned if the beacon is transmitting scannable (ADV_DISCOVER_IND/ADV_SCAN_IND)advertisements instead of (ADV_NON_CONN_IND).
If the beacon is using the github example which has examples for scannable advertisements and support for the Scan Request event. This scan request event will signal to the beacon that it has been scanned.
The code should work with the beacon kit, nRF51-EK, nRF51-DK and nRF51-Dongle.
I should correct myself. Beacons can of course have a receive window too. It all depends on the implementation, but normally they will only transmit.