Callback functions used by the transfer object.

Public Attributes#

Callback function called when transferring data.

Callback function called when data is received (Mandatory for receiver)

Callback function called when transfer is finished/closed (Mandatory)

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 122 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 123 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 124 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 125 of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h