Advertising types

C

#define BLE_GAP_ADV_TYPE_ADV_IND                                0x00
#define BLE_GAP_ADV_TYPE_ADV_DIRECT_IND                         0x01
#define BLE_GAP_ADV_TYPE_ADV_SCAN_IND                           0x02
#define BLE_GAP_ADV_TYPE_ADV_NONCONN_IND                        0x03
#define BLE_GAP_ADV_TYPE_ADV_DIRECT_LOW_IND                     0x04

Description

Enumerates the different types of advertising that can be performed.

Macro Definition

MacroDescription
BLE_GAP_ADV_TYPE_ADV_INDConnectable undirected advertising (ADV_IND). This is the default and most common advertising type.
BLE_GAP_ADV_TYPE_ADV_DIRECT_INDConnectable high duty cycle directed advertising (ADV_DIRECT_IND). Targets a specific device with high advertising frequency.
BLE_GAP_ADV_TYPE_ADV_SCAN_INDScannable undirected advertising (ADV_SCAN_IND). Allows devices to request scan response data.
BLE_GAP_ADV_TYPE_ADV_NONCONN_INDNon-connectable undirected advertising (ADV_NONCONN_IND). Used for broadcasting data with no intention of connecting.
BLE_GAP_ADV_TYPE_ADV_DIRECT_LOW_INDConnectable low duty cycle directed advertising (ADV_DIRECT_IND). Similar to high duty cycle but with lower frequency.