S132 SoftDevice v6.1.0
Macros
GAP Advertising types

Macros

#define BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED   0x01
 
#define BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED_HIGH_DUTY_CYCLE   0x02
 
#define BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED   0x03
 
#define BLE_GAP_ADV_TYPE_NONCONNECTABLE_SCANNABLE_UNDIRECTED   0x04
 
#define BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED   0x05
 
#define BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED   0x06
 
#define BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_DIRECTED   0x07
 
#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_UNDIRECTED   0x08
 
#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_DIRECTED   0x09
 
#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED   0x0A
 
#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_DIRECTED   0x0B
 

Detailed Description

Advertising types defined in Bluetooth Core Specification v5.0, Vol 6, Part B, Section 4.4.2.

The maximum advertising data length is defined by BLE_GAP_ADV_SET_DATA_SIZE_MAX. The maximum supported data length for an extended advertiser is defined by BLE_GAP_ADV_SET_DATA_SIZE_EXTENDED_MAX_SUPPORTED Note that some of the advertising types do not support advertising data. Non-scannable types do not support scan response data.

Macro Definition Documentation

#define BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED   0x03

Connectable non-scannable directed advertising events.

Note
Advertising data is not supported.
#define BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED_HIGH_DUTY_CYCLE   0x02

Connectable non-scannable directed advertising events. Advertising interval is less that 3.75 ms. Use this type for fast reconnections.

Note
Advertising data is not supported.
#define BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED   0x01

Connectable and scannable undirected advertising events.

#define BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_DIRECTED   0x07

Connectable non-scannable directed advertising events using extended advertising PDUs.

#define BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED   0x06

Connectable non-scannable undirected advertising events using extended advertising PDUs.

#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_DIRECTED   0x0B

Non-connectable non-scannable directed advertising events using extended advertising PDUs.

#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED   0x0A

Non-connectable non-scannable undirected advertising events using extended advertising PDUs.

#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_DIRECTED   0x09

Non-connectable scannable directed advertising events using extended advertising PDUs.

Note
Only scan response data is supported.
#define BLE_GAP_ADV_TYPE_EXTENDED_NONCONNECTABLE_SCANNABLE_UNDIRECTED   0x08

Non-connectable scannable undirected advertising events using extended advertising PDUs.

Note
Only scan response data is supported.
#define BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED   0x05

Non-connectable non-scannable undirected advertising events.

#define BLE_GAP_ADV_TYPE_NONCONNECTABLE_SCANNABLE_UNDIRECTED   0x04

Non-connectable scannable undirected advertising events.


Documentation feedback | Developer Zone | Subscribe | Updated