Scan modes
C
#define BLE_GAP_SCAN_MODE_GENERAL_DISCOVERY 0x00 #define BLE_GAP_SCAN_MODE_LIMITED_DISCOVERY 0x01 #define BLE_GAP_SCAN_MODE_OBSERVER 0x02
Description
Defines the scanning modes that determine the type of advertising packets that will be reported.
Macro Definition
Macro | Description |
---|---|
BLE_GAP_SCAN_MODE_GENERAL_DISCOVERY | General discovery: Reports both general and limited advertising mode devices. |
BLE_GAP_SCAN_MODE_LIMITED_DISCOVERY | Limited discovery: Reports only devices in limited advertising mode. |
BLE_GAP_SCAN_MODE_OBSERVER | Observer mode: Reports all advertising packets with no filter applied. |