Modules#
BGAPI Types#
Common types in BGAPI protocol.
Macros#
The length of a BGAPI message header which is 4 bytes.
Get the device type of a BGAPI message.
Get the identifier of a BGAPI message including device type, class ID, message type and message ID.
Get the data payload length in a BGAPI message.
The bit indicating whether data of a BGAPI message is encrypted.
Check whether data of a BGAPI message is encrypted.
Macro Definition Documentation#
SL_BT_TYPE_UINT8ARRARY#
#define SL_BT_TYPE_UINT8ARRARY
73
of file include/sl_bgapi.h
SL_BT_TYPE_BYTE_ARRARY#
#define SL_BT_TYPE_BYTE_ARRARY
82
of file include/sl_bgapi.h
SL_BT_TYPE_AES_KEY128#
#define SL_BT_TYPE_AES_KEY128
107
of file include/sl_bgapi.h
SL_BGAPI_MSG_HEADER_LEN#
#define SL_BGAPI_MSG_HEADER_LENValue:
(4)
The length of a BGAPI message header which is 4 bytes.
156
of file include/sl_bgapi.h
SL_BGAPI_MSG_DEVICE_TYPE#
#define SL_BGAPI_MSG_DEVICE_TYPEValue:
(HDR)
Get the device type of a BGAPI message.
163
of file include/sl_bgapi.h
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.
171
of file include/sl_bgapi.h
SL_BGAPI_MSG_LEN#
#define SL_BGAPI_MSG_LENValue:
(HDR)
Get the data payload length in a BGAPI message.
178
of file include/sl_bgapi.h
SL_BGAPI_BIT_ENCRYPTED#
#define SL_BGAPI_BIT_ENCRYPTEDValue:
(1 << 6)
The bit indicating whether data of a BGAPI message is encrypted.
183
of file include/sl_bgapi.h
SL_BGAPI_MSG_ENCRYPTED#
#define SL_BGAPI_MSG_ENCRYPTEDValue:
(HDR)
Check whether data of a BGAPI message is encrypted.
190
of file include/sl_bgapi.h