Modules#
BGAPI Types#
Common types in BGAPI protocol.
Macros#
#define
#define
#define
#define
#define
#define
#define
#define
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.
Macro Definition Documentation#
SL_BGAPI_MSG_HEADER_LEN#
#define SL_BGAPI_MSG_HEADER_LENValue:
(4)
The length of a BGAPI message header which is 4 bytes.
SL_BGAPI_MSG_DEVICE_TYPE#
#define SL_BGAPI_MSG_DEVICE_TYPEValue:
(HDR)
Get the device type of a BGAPI message.
SL_BGAPI_MSG_ID#
#define SL_BGAPI_MSG_IDValue:
(HDR)
Get the identifier of a BGAPI message including device type, class ID, message type and message ID.
SL_BGAPI_BIT_ENCRYPTED#
#define SL_BGAPI_BIT_ENCRYPTEDValue:
(1 << 6)
The bit indicating whether data of a BGAPI message is encrypted.
SL_BGAPI_MSG_ENCRYPTED#
#define SL_BGAPI_MSG_ENCRYPTEDValue:
(HDR)
Check whether data of a BGAPI message is encrypted.