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

MacroDescription
BLE_GAP_SCAN_MODE_GENERAL_DISCOVERYGeneral discovery: Reports both general and limited advertising mode devices.
BLE_GAP_SCAN_MODE_LIMITED_DISCOVERYLimited discovery: Reports only devices in limited advertising mode.
BLE_GAP_SCAN_MODE_OBSERVERObserver mode: Reports all advertising packets with no filter applied.