BGAPI Types#
Common types in BGAPI protocol.
Modules#
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
74
of file include/sl_bgapi.h
SL_BT_TYPE_BYTE_ARRARY#
#define SL_BT_TYPE_BYTE_ARRARY
83
of file include/sl_bgapi.h
SL_BT_TYPE_AES_KEY128#
#define SL_BT_TYPE_AES_KEY128
108
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.
159
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.
166
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.
174
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.
181
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.
186
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.
193
of file include/sl_bgapi.h