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.
Modules#
sl_bt_evt_l2cap_channel_data_s
Typedefs#
typedef struct sl_bt_evt_l2cap_channel_data_s
Macros#
#define
sl_bt_evt_l2cap_channel_data_id 0x034300a0
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
13947
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/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_idValue:
0x034300a0
Identifier of the channel_data event.
Definition at line
13935
of file /mnt/raid/workspaces/ws.pY3F1RWXq/overlay/gsdk/protocol/bluetooth/build_release/bt_api/sw/bgapi/inc/sl_bt_api.h