Callback functions used by the transfer object.
Public Attributes#
sl_bt_l2cap_transfer_data_transmit_cb_t
Callback function called when transferring data.
sl_bt_l2cap_transfer_data_received_cb_t
Callback function called when data is received (Mandatory for receiver)
sl_bt_l2cap_transfer_transfer_finished_cb_t
Callback function called when transfer is finished/closed (Mandatory)
sl_bt_l2cap_transfer_channel_opened_cb_t
Callback function called when transfer channel is opened (Optional)
Public Attribute Documentation#
on_transmit#
sl_bt_l2cap_transfer_data_transmit_cb_t callbacks_s::on_transmit
Callback function called when transferring data.
Definition at line
119
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
on_receive#
sl_bt_l2cap_transfer_data_received_cb_t callbacks_s::on_receive
Callback function called when data is received (Mandatory for receiver)
Definition at line
120
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
on_finish#
sl_bt_l2cap_transfer_transfer_finished_cb_t callbacks_s::on_finish
Callback function called when transfer is finished/closed (Mandatory)
Definition at line
121
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
on_open#
sl_bt_l2cap_transfer_channel_opened_cb_t callbacks_s::on_open
Callback function called when transfer channel is opened (Optional)
Definition at line
122
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h