BGAPI Types#
Common types in BGAPI protocol.
Modules#
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_ERROR_PAYLOAD_LEN (2)
The length of the BGAPI message payload of a generic error response.
#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.
#define
SL_BGAPI_MSG_HEADER_FROM_ID_AND_LEN (evt_id, payload_len)
Construct a BGAPI message header from an event ID and payload length.