1.2.2.1.1.1.4 Advertising filter policy

C

#define BLE_GAP_ADV_FILTER_DEFAULT                              0x00
#define BLE_GAP_ADV_FILTER_SCAN                                 0x01
#define BLE_GAP_ADV_FILTER_CONNECT                              0x02
#define BLE_GAP_ADV_FILTER_SCAN_CONNECT                         0x03

Description

The definition of advertising filter policy.

Macro Definition

MacroDescription
BLE_GAP_ADV_FILTER_DEFAULTDefault setting. Process scan and connection requests from all devices.
BLE_GAP_ADV_FILTER_SCANProcess connection requests from all devices and only scan requests from devices that are in the filter accept list.
BLE_GAP_ADV_FILTER_CONNECTProcess scan requests from all devices and only connection requests from devices that are in the filter accept list.
BLE_GAP_ADV_FILTER_SCAN_CONNECTProcess scan and connection requests only from devices in the filter accept list.