Modules#

uint8array

byte_array

bd_addr

uuid_128

aes_key_128

sl_bt_uuid_16_t

sl_bt_uuid_64_t

BGAPI Types#

Common types in BGAPI protocol.

Macros#

#define
SL_BT_TYPE_UINT8ARRARY
#define
SL_BT_TYPE_BYTE_ARRARY
#define
SL_BT_TYPE_BDADDR
#define
SL_BT_TYPE_UUID128
#define
SL_BT_TYPE_AES_KEY128
#define
SL_BT_TYPE_UUID16
#define
SL_BT_TYPE_UUID64
#define
SL_BGAPI_MSG_HEADER_LEN (4)

The length of a BGAPI message header which is 4 bytes.

#define
SL_BGAPI_MSG_DEVICE_TYPE (HDR)

Get the device type of a BGAPI message.

#define
SL_BGAPI_MSG_ID (HDR)

Get the identifier of a BGAPI message including device type, class ID, message type and message ID.

#define
SL_BGAPI_MSG_LEN (HDR)

Get the data payload length in a BGAPI message.

#define
SL_BGAPI_BIT_ENCRYPTED (1 << 6)

The bit indicating whether data of a BGAPI message is encrypted.

#define
SL_BGAPI_MSG_ENCRYPTED (HDR)

Check whether data of a BGAPI message is encrypted.