Transfer structure that is used for the L2CAP data channels.
Public Attributes#
Node for linked lists.
Link to callback functions - Mandatory.
Channel identifier - automatically assigned.
The Maximum Service Data Unit size the local channel endpoint can accept - Range: 23 to 65533. - Mandatory.
The maximum PDU payload size the local channel endpoint can accept - Range:23 to 252. - Mandatory.
Current SDU for the actual transfer.
Current data pointer within the SDU.
The protocol/services implemented by the local channel endpoint - Mandatory.
The initial credit value of the local channel endpoint, i.e., number of PDUs the peer channel endpoint can send. - Mandatory for responder.
Total length of data to be sent - Mandatory for initiator.
Offset to send data from.
Used to indicate the total size of data transmitted.
The connection handle - Mandatory.
Channel error code.
Transfer mode: initiator/responder - Mandatory.
Public Attribute Documentation#
node#
sl_slist_node_t sl_bt_l2cap_transfer_transfer_s::node
Node for linked lists.
127
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
callbacks#
sl_bt_l2cap_transfer_callbacks_t* sl_bt_l2cap_transfer_transfer_s::callbacks
Link to callback functions - Mandatory.
128
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
cid#
uint16_t sl_bt_l2cap_transfer_transfer_s::cid
Channel identifier - automatically assigned.
129
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
max_sdu#
uint16_t sl_bt_l2cap_transfer_transfer_s::max_sdu
The Maximum Service Data Unit size the local channel endpoint can accept - Range: 23 to 65533. - Mandatory.
130
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
max_pdu#
uint16_t sl_bt_l2cap_transfer_transfer_s::max_pdu
The maximum PDU payload size the local channel endpoint can accept - Range:23 to 252. - Mandatory.
131
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
sdu_size#
uint16_t sl_bt_l2cap_transfer_transfer_s::sdu_size
Current SDU for the actual transfer.
132
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
sdu_pointer#
uint16_t sl_bt_l2cap_transfer_transfer_s::sdu_pointer
Current data pointer within the SDU.
133
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
spsm#
uint16_t sl_bt_l2cap_transfer_transfer_s::spsm
The protocol/services implemented by the local channel endpoint - Mandatory.
134
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
credit#
uint16_t sl_bt_l2cap_transfer_transfer_s::credit
The initial credit value of the local channel endpoint, i.e., number of PDUs the peer channel endpoint can send. - Mandatory for responder.
135
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
data_length#
uint32_t sl_bt_l2cap_transfer_transfer_s::data_length
Total length of data to be sent - Mandatory for initiator.
136
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
data_offset#
uint32_t sl_bt_l2cap_transfer_transfer_s::data_offset
Offset to send data from.
137
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
pointer#
uint32_t sl_bt_l2cap_transfer_transfer_s::pointer
Used to indicate the total size of data transmitted.
138
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
connection#
uint8_t sl_bt_l2cap_transfer_transfer_s::connection
The connection handle - Mandatory.
139
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
channel_error#
sl_status_t sl_bt_l2cap_transfer_transfer_s::channel_error
Channel error code.
140
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h
mode#
sl_bt_l2cap_transfer_transfer_mode_t sl_bt_l2cap_transfer_transfer_s::mode
Transfer mode: initiator/responder - Mandatory.
141
of file common/l2cap_transfer/inc/sl_bt_l2cap_transfer.h