BLE_API v2.1.3

BLE Advertising Filter Policy Definition
BLE Common » BLE Command Definition » BLE Advertising Definition

## BleAdvFilterPolicy
Define BLE advertising filter policy.
typedef uint8_t | BleAdvFilterPolicy
#define | ADV_FILTER_POLICY_ACCEPT_ALL 0x00
#define | ADV_FILTER_POLICY_ACCEPT_SCAN_REQ_WL 0x01
#define | ADV_FILTER_POLICY_ACCEPT_CONN_REQ_WL 0x02
#define | ADV_FILTER_POLICY_ACCEPT_SCAN_CONN_REQ_WL 0x03

## Detailed Description

BLE advertising filter policy definition.

## Macro Definition Documentation

## ◆ ADV_FILTER_POLICY_ACCEPT_ALL

#define ADV_FILTER_POLICY_ACCEPT_ALL 0x00

Filter scan requests and connect requests from any device

## ◆ ADV_FILTER_POLICY_ACCEPT_CONN_REQ_WL

#define ADV_FILTER_POLICY_ACCEPT_CONN_REQ_WL 0x02

Filter scan requests from any, connect requests with whitelist.

## ◆ ADV_FILTER_POLICY_ACCEPT_SCAN_CONN_REQ_WL

#define ADV_FILTER_POLICY_ACCEPT_SCAN_CONN_REQ_WL 0x03

Filter both scan and connect requests with whitelist.

## ◆ ADV_FILTER_POLICY_ACCEPT_SCAN_REQ_WL

#define ADV_FILTER_POLICY_ACCEPT_SCAN_REQ_WL 0x01

Filter scan requests with whitelist,connect requests with from any .