Modules#

sl_bt_evt_l2cap_channel_data_s

sl_bt_evt_l2cap_channel_data#

Indicates that data is received on a channel.

Each event should contain a K-frame of payload. The length of SDU should be specified in the first 2 bytes of the first K-frame. The sum of the payload lengths in received K-frames should be equal to the specified SDU length. Otherwise, application should disconnect the channel using sl_bt_l2cap_close_channel command. The same should happen also if the SDU length exceeds the max_sdu of local channel endpoint.

Macros#

#define

Identifier of the channel_data event.

Typedef Documentation#

sl_bt_evt_l2cap_channel_data_t#

typedef struct sl_bt_evt_l2cap_channel_data_s sl_bt_evt_l2cap_channel_data_t

Definition at line 13405 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h

Macro Definition Documentation#

sl_bt_evt_l2cap_channel_data_id#

#define sl_bt_evt_l2cap_channel_data_id
Value:
0x034300a0

Identifier of the channel_data event.


Definition at line 13393 of file /mnt/raid/workspaces/ws.SZ9MaSA5u/overlay/gsdk/protocol/bluetooth/build_debug/bt_api/sw/bgapi/inc/sl_bt_api.h