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

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

#define

Get the device type of a BGAPI message.

#define

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

#define

Get the data payload length in a BGAPI message.

#define

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

#define

Check whether data of a BGAPI message is encrypted.

Macro Definition Documentation#

SL_BT_TYPE_UINT8ARRARY#

#define SL_BT_TYPE_UINT8ARRARY

Definition at line 73 of file include/sl_bgapi.h

SL_BT_TYPE_BYTE_ARRARY#

#define SL_BT_TYPE_BYTE_ARRARY

Definition at line 82 of file include/sl_bgapi.h

SL_BT_TYPE_BDADDR#

#define SL_BT_TYPE_BDADDR

Definition at line 91 of file include/sl_bgapi.h

SL_BT_TYPE_UUID128#

#define SL_BT_TYPE_UUID128

Definition at line 99 of file include/sl_bgapi.h

SL_BT_TYPE_AES_KEY128#

#define SL_BT_TYPE_AES_KEY128

Definition at line 107 of file include/sl_bgapi.h

SL_BT_TYPE_UUID16#

#define SL_BT_TYPE_UUID16

Definition at line 115 of file include/sl_bgapi.h

SL_BT_TYPE_UUID64#

#define SL_BT_TYPE_UUID64

Definition at line 123 of file include/sl_bgapi.h

SL_BGAPI_MSG_HEADER_LEN#

#define SL_BGAPI_MSG_HEADER_LEN
Value:
(4)

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


Definition at line 156 of file include/sl_bgapi.h

SL_BGAPI_MSG_DEVICE_TYPE#

#define SL_BGAPI_MSG_DEVICE_TYPE
Value:
(HDR)

Get the device type of a BGAPI message.


Definition at line 163 of file include/sl_bgapi.h

SL_BGAPI_MSG_ID#

#define SL_BGAPI_MSG_ID
Value:
(HDR)

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


Definition at line 171 of file include/sl_bgapi.h

SL_BGAPI_MSG_LEN#

#define SL_BGAPI_MSG_LEN
Value:
(HDR)

Get the data payload length in a BGAPI message.


Definition at line 178 of file include/sl_bgapi.h

SL_BGAPI_BIT_ENCRYPTED#

#define SL_BGAPI_BIT_ENCRYPTED
Value:
(1 << 6)

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


Definition at line 183 of file include/sl_bgapi.h

SL_BGAPI_MSG_ENCRYPTED#

#define SL_BGAPI_MSG_ENCRYPTED
Value:
(HDR)

Check whether data of a BGAPI message is encrypted.


Definition at line 190 of file include/sl_bgapi.h