Advertising filter policies

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

Defines the policies for filtering advertising packets.

Macro Definition

MacroDescription
BLE_GAP_ADV_FILTER_DEFAULTNo filter applied. Process scan and connection requests from all devices.
BLE_GAP_ADV_FILTER_SCANFilter applied to scan requests. Process connection requests from all devices and scan requests only from devices in the filter accept list.
BLE_GAP_ADV_FILTER_CONNECTFilter applied to connection requests. Process scan requests from all devices and connection requests only from devices in the filter accept list.
BLE_GAP_ADV_FILTER_SCAN_CONNECTFilter applied to both scan and connection requests. Process requests only from devices in the filter accept list.