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
14209
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_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
14197
of file /mnt/raid/workspaces/ws.cynwT2I6w/overlay/gsdk/protocol/bluetooth/build/native/ble_host/ble_bgapi/inc/sl_bt_api.h