nRF51 SDK: GAP Advertising filter policies

| nRF51 SDK

- Home
- Related Pages
- API Reference
- Data Structures

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Macros
GAP Advertising filter policies
Defines

## Macros

#define | BLE_GAP_ADV_FP_ANY 0x00
#define | BLE_GAP_ADV_FP_FILTER_SCANREQ 0x01
#define | BLE_GAP_ADV_FP_FILTER_CONNREQ 0x02
#define | BLE_GAP_ADV_FP_FILTER_BOTH 0x03

## Detailed Description

## Macro Definition Documentation

#define BLE_GAP_ADV_FP_ANY 0x00

Allow scan requests and connect requests from any device.

#define BLE_GAP_ADV_FP_FILTER_BOTH 0x03

Filter both scan and connect requests with whitelist.

#define BLE_GAP_ADV_FP_FILTER_CONNREQ 0x02

Filter connect requests with whitelist.

#define BLE_GAP_ADV_FP_FILTER_SCANREQ 0x01

Filter scan requests with whitelist.