Ble_macros#

Macros#

#define
BLE_PROTOCOL 0x01

BLE protocol identifier.

#define
PROP_PROTOCOL 0x02

Proprietary protocol identifier.

#define
ADV_ROLE 0x01

Advertising role identifier.

#define
SCAN_AND_CENTRAL_ROLE 0x02

Scanning and central role identifier.

#define
PERIPHERAL_ROLE 0x03

Peripheral role identifier.

#define
CONN_ROLE 0x04

Connection role identifier.

#define
RSI_BLE_ATT_EXCHANGE_MTU_REQUEST 0x02

Attribute Protocol (ATT) Exchange MTU request.

#define
RSI_BLE_ATT_FIND_INFORMATION_REQUEST 0x04

Attribute Protocol (ATT) Find Information request.

#define
RSI_BLE_ATT_FIND_BY_TYPE_VALUE_REQUEST 0x06

Attribute Protocol (ATT) Find By Type Value request.

#define
RSI_BLE_ATT_READ_BY_TYPE_REQUEST 0x08

Attribute Protocol (ATT) Read By Type request.

#define
RSI_BLE_ATT_READ_REQUEST 0x0A

Attribute Protocol (ATT) Read request.

#define
RSI_BLE_ATT_READ_BLOB_REQUEST 0x0C

Attribute Protocol (ATT) Read Blob request.

#define
RSI_BLE_ATT_READ_MULTIPLE_REQUEST 0x0E

Attribute Protocol (ATT) Read Multiple request.

#define
RSI_BLE_ATT_READ_BY_GROUP_TYPE_REQUEST 0x10

Attribute Protocol (ATT) Read By Group Type request.

#define
RSI_BLE_ATT_WRITE_REQUEST 0x12

Attribute Protocol (ATT) Write request.

#define
RSI_BLE_ATT_PREPARE_WRITE_REQUEST 0x16

Attribute Protocol (ATT) Prepare Write request.

#define
RSI_BLE_ATT_EXECUTE_WRITE_REQUEST 0x18

Attribute Protocol (ATT) Execute Write request.

#define
AE_ADV_DATA 0x01

Advertising Extension (AE) advertising data.

#define
AE_SCAN_RSP_DATA 0x02

Advertising Extension (AE) scan response data.

#define
SUPPORTED_SCNNING_PHYS 2

Indicates the number of supported scanning physical channels.