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
Macro | Description |
---|---|
BLE_GAP_ADV_FILTER_DEFAULT | Default setting. Process scan and connection requests from all devices. |
BLE_GAP_ADV_FILTER_SCAN | Process connection requests from all devices and only scan requests from devices that are in the filter accept list. |
BLE_GAP_ADV_FILTER_CONNECT | Process scan requests from all devices and only connection requests from devices that are in the filter accept list. |
BLE_GAP_ADV_FILTER_SCAN_CONNECT | Process scan and connection requests only from devices in the filter accept list. |