Bluetooth LE Stack
hci_connection_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
hci_connection_t
hci_connection_t struct
Syntax
Show:
Summary
Declaration
from
hci.h:539
typedef
struct
{
btstack_linked_item_t
item
;
bd_addr_t
address
;
hci_con_handle_t
con_handle
;
bd_addr_type_t
address_type
;
hci_role_t
role
;
CONNECTION_STATE
state
;
uint32_t
bonding_flags
;
uint8_t
bonding_status
;
uint8_t
encryption_key_size
;
gap_security_level_t
requested_security_level
;
link_key_t
link_key
;
link_key_type_t
link_key_type
;
#ifdef
ENABLE_CLASSIC
uint16_t
remote_supported_sco_packets
;
uint8_t
remote_supported_features
[
1
]
;
uint8_t
io_cap_response_auth_req
;
uint8_t
io_cap_response_io
;
#ifdef
ENABLE_CLASSIC_PAIRING_OOB
uint8_t
io_cap_response_oob_data
;
#endif
uint8_t
connection_mode
;
uint16_t
sniff_min_interval
;
uint16_t
sniff_max_interval
;
uint16_t
sniff_attempt
;
uint16_t
sniff_timeout
;
uint16_t
sniff_subrating_max_latency
;
uint16_t
sniff_subrating_min_remote_timeout
;
uint16_t
sniff_subrating_min_local_timeout
;
hci_service_type_t
qos_service_type
;
uint32_t
qos_token_rate
;
uint32_t
qos_peak_bandwidth
;
uint32_t
qos_latency
;
uint32_t
qos_delay_variation
;
#ifdef
ENABLE_SCO_OVER_HCI
uint32_t
sco_established_ms
;
uint8_t
sco_tx_active
;
#endif
uint8_t
sco_tx_ready
;
uint16_t
sco_payload_length
;
hci_role_t
request_role
;
btstack_timer_source_t
timeout_sco
;
#endif
uint16_t
authentication_flags
;
uint16_t
gap_connection_tasks
;
btstack_timer_source_t
timeout
;
uint32_t
timestamp
;
uint8_t
acl_recombination_buffer
[
HCI_INCOMING_PRE_BUFFER_SIZE
+
4
+
HCI_ACL_BUFFER_SIZE
]
;
uint16_t
acl_recombination_pos
;
uint16_t
acl_recombination_length
;
uint8_t
num_packets_sent
;
#ifdef
ENABLE_HCI_CONTROLLER_TO_HOST_FLOW_CONTROL
uint8_t
num_packets_completed
;
#endif
le_con_parameter_update_state_t
le_con_parameter_update_state
;
uint8_t
le_con_param_update_identifier
;
uint16_t
le_conn_interval_min
;
uint16_t
le_conn_interval_max
;
uint16_t
le_conn_latency
;
uint16_t
le_supervision_timeout
;
#ifdef
ENABLE_BLE
uint16_t
le_connection_interval
;
uint8_t
le_phy_update_all_phys
;
uint8_t
le_phy_update_tx_phys
;
uint8_t
le_phy_update_rx_phys
;
int8_t
le_phy_update_phy_options
;
sm_connection_t
sm_connection
;
#ifdef
ENABLE_LE_LIMIT_ACL_FRAGMENT_BY_MAX_OCTETS
uint16_t
le_max_tx_octets
;
#endif
att_connection_t
att_connection
;
att_server_t
att_server
;
#ifdef
ENABLE_LE_PERIODIC_ADVERTISING
hci_con_handle_t
le_past_sync_handle
;
uint8_t
le_past_advertising_handle
;
uint16_t
le_past_service_data
;
#endif
#endif
l2cap_state_t
l2cap_state
;
#ifdef
ENABLE_CLASSIC_PAIRING_OOB
const
uint8_t
*
classic_oob_c_192
;
const
uint8_t
*
classic_oob_r_192
;
const
uint8_t
*
classic_oob_c_256
;
const
uint8_t
*
classic_oob_r_256
;
#endif
}
hci_connection_t
;
Fields
Field
Declared as
hci_connection_t::item
btstack_linked_item_t
hci_connection_t::address
bd_addr_t
hci_connection_t::con_handle
hci_con_handle_t
hci_connection_t::address_type
bd_addr_type_t
hci_connection_t::role
hci_role_t
hci_connection_t::state
CONNECTION_STATE
hci_connection_t::bonding_flags
uint32_t
hci_connection_t::bonding_status
uint8_t
hci_connection_t::encryption_key_size
uint8_t
hci_connection_t::requested_security_level
gap_security_level_t
hci_connection_t::link_key
link_key_t
hci_connection_t::link_key_type
link_key_type_t
hci_connection_t::authentication_flags
uint16_t
hci_connection_t::gap_connection_tasks
uint16_t
hci_connection_t::timeout
btstack_timer_source_t
hci_connection_t::timestamp
uint32_t
hci_connection_t::acl_recombination_buffer
uint8_t
[
HCI_INCOMING_PRE_BUFFER_SIZE
+
4
+
HCI_ACL_BUFFER_SIZE
]
hci_connection_t::acl_recombination_pos
uint16_t
hci_connection_t::acl_recombination_length
uint16_t
hci_connection_t::num_packets_sent
uint8_t
hci_connection_t::num_packets_completed
uint8_t
hci_connection_t::le_con_parameter_update_state
le_con_parameter_update_state_t
hci_connection_t::le_con_param_update_identifier
uint8_t
hci_connection_t::le_conn_interval_min
uint16_t
hci_connection_t::le_conn_interval_max
uint16_t
hci_connection_t::le_conn_latency
uint16_t
hci_connection_t::le_supervision_timeout
uint16_t
hci_connection_t::le_connection_interval
uint16_t
hci_connection_t::le_phy_update_all_phys
uint8_t
hci_connection_t::le_phy_update_tx_phys
uint8_t
hci_connection_t::le_phy_update_rx_phys
uint8_t
hci_connection_t::le_phy_update_phy_options
int8_t
hci_connection_t::sm_connection
sm_connection_t
hci_connection_t::att_connection
att_connection_t
hci_connection_t::att_server
att_server_t
hci_connection_t::l2cap_state
l2cap_state_t
Related Functions
Found 7 other functions taking a
hci_connection_t
argument:
Function
hci_is_le_connection()
btstack_memory_hci_connection_free()
hci_shutdown_connection()
hci_connection_stop_timer()
hci_send_acl_packet_fragments()
hci_connection_init()
hci_handle_connection_failed()
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