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.