Bluetooth LE Stack
l2cap_channel_t
is only used within Bluetooth LE Stack.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
Raspberry Pi Pico SDK and Examples
Bluetooth LE Stack
l2cap_channel_t
l2cap_channel_t struct
Syntax
Show:
Summary
Declaration
from
l2cap.h:207
typedef
struct
{
btstack_linked_item_t
item
;
l2cap_channel_type_t
channel_type
;
uint16_t
local_cid
;
btstack_packet_handler_t
packet_handler
;
uint8_t
waiting_for_can_send_now
;
btstack_timer_source_t
rtx
;
L2CAP_STATE
state
;
uint16_t
state_var
;
hci_con_handle_t
con_handle
;
bd_addr_t
address
;
bd_addr_type_t
address_type
;
uint8_t
remote_sig_id
;
uint8_t
local_sig_id
;
uint16_t
remote_cid
;
uint16_t
local_mtu
;
uint16_t
remote_mtu
;
uint16_t
flush_timeout
;
uint16_t
psm
;
gap_security_level_t
required_security_level
;
uint16_t
reason
;
uint8_t
unknown_option
;
uint8_t
*
receive_sdu_buffer
;
uint16_t
receive_sdu_len
;
uint16_t
receive_sdu_pos
;
#ifdef
ENABLE_L2CAP_ENHANCED_CREDIT_BASED_FLOW_CONTROL_MODE
uint8_t
*
renegotiate_sdu_buffer
;
uint16_t
renegotiate_mtu
;
#endif
const
uint8_t
*
send_sdu_buffer
;
uint16_t
send_sdu_len
;
uint16_t
send_sdu_pos
;
uint16_t
local_mps
;
uint16_t
remote_mps
;
uint16_t
credits_outgoing
;
uint16_t
new_credits_incoming
;
uint16_t
credits_incoming
;
bool
automatic_credits
;
#ifdef
ENABLE_L2CAP_ENHANCED_CREDIT_BASED_FLOW_CONTROL_MODE
uint8_t
cid_index
;
uint8_t
num_cids
;
#endif
#ifdef
ENABLE_L2CAP_ENHANCED_RETRANSMISSION_MODE
l2cap_channel_mode_t
mode
;
btstack_timer_source_t
retransmission_timer
;
btstack_timer_source_t
monitor_timer
;
uint16_t
local_retransmission_timeout_ms
;
uint16_t
local_monitor_timeout_ms
;
uint16_t
remote_retransmission_timeout_ms
;
uint16_t
remote_monitor_timeout_ms
;
uint8_t
remote_tx_window_size
;
uint8_t
local_max_transmit
;
uint8_t
remote_max_transmit
;
uint8_t
ertm_mandatory
;
uint8_t
fcs_option
;
uint8_t
num_tx_buffers
;
uint8_t
num_stored_tx_frames
;
uint8_t
unacked_frames
;
uint8_t
tx_read_index
;
uint8_t
tx_write_index
;
uint8_t
tx_send_index
;
uint8_t
next_tx_seq
;
uint8_t
srej_active
;
uint8_t
num_rx_buffers
;
uint8_t
rx_store_index
;
uint8_t
expected_tx_seq
;
uint8_t
req_seq
;
uint8_t
local_busy
;
uint8_t
send_supervisor_frame_receiver_ready
;
uint8_t
send_supervisor_frame_receiver_ready_poll
;
uint8_t
send_supervisor_frame_receiver_not_ready
;
uint8_t
send_supervisor_frame_reject
;
uint8_t
send_supervisor_frame_selective_reject
;
uint8_t
set_final_bit_after_packet_with_poll_bit_set
;
l2cap_ertm_rx_packet_state_t
*
rx_packets_state
;
l2cap_ertm_tx_packet_state_t
*
tx_packets_state
;
uint16_t
reassembly_pos
;
uint16_t
reassembly_sdu_length
;
uint8_t
*
reassembly_buffer
;
uint8_t
*
rx_packets_data
;
uint8_t
*
tx_packets_data
;
#endif
}
l2cap_channel_t
;
Fields
Field
Declared as
l2cap_channel_t::item
btstack_linked_item_t
l2cap_channel_t::channel_type
l2cap_channel_type_t
l2cap_channel_t::local_cid
uint16_t
l2cap_channel_t::packet_handler
btstack_packet_handler_t
l2cap_channel_t::waiting_for_can_send_now
uint8_t
l2cap_channel_t::rtx
btstack_timer_source_t
l2cap_channel_t::state
L2CAP_STATE
l2cap_channel_t::state_var
uint16_t
l2cap_channel_t::con_handle
hci_con_handle_t
l2cap_channel_t::address
bd_addr_t
l2cap_channel_t::address_type
bd_addr_type_t
l2cap_channel_t::remote_sig_id
uint8_t
l2cap_channel_t::local_sig_id
uint8_t
l2cap_channel_t::remote_cid
uint16_t
l2cap_channel_t::local_mtu
uint16_t
l2cap_channel_t::remote_mtu
uint16_t
l2cap_channel_t::flush_timeout
uint16_t
l2cap_channel_t::psm
uint16_t
l2cap_channel_t::required_security_level
gap_security_level_t
l2cap_channel_t::reason
uint16_t
l2cap_channel_t::unknown_option
uint8_t
l2cap_channel_t::receive_sdu_buffer
uint8_t
*
l2cap_channel_t::receive_sdu_len
uint16_t
l2cap_channel_t::receive_sdu_pos
uint16_t
l2cap_channel_t::send_sdu_buffer
const
uint8_t
*
l2cap_channel_t::send_sdu_len
uint16_t
l2cap_channel_t::send_sdu_pos
uint16_t
l2cap_channel_t::local_mps
uint16_t
l2cap_channel_t::remote_mps
uint16_t
l2cap_channel_t::credits_outgoing
uint16_t
l2cap_channel_t::new_credits_incoming
uint16_t
l2cap_channel_t::credits_incoming
uint16_t
l2cap_channel_t::automatic_credits
bool
Related Functions
Found 3 other functions taking a
l2cap_channel_t
argument:
Function
btstack_memory_l2cap_channel_free()
l2cap_channel_ready_to_send()
l2cap_channel_trigger_send()
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out