Bluetooth LE Stack
sm_connection
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
sm_connection
sm_connection struct
Syntax
Show:
Summary
Declaration
from
hci.h:446
typedef
struct
sm_connection
{
hci_con_handle_t
sm_handle
;
uint16_t
sm_cid
;
uint8_t
sm_role
;
bool
sm_security_request_received
;
bool
sm_pairing_requested
;
uint8_t
sm_peer_addr_type
;
bd_addr_t
sm_peer_address
;
uint8_t
sm_own_addr_type
;
bd_addr_t
sm_own_address
;
security_manager_state_t
sm_engine_state
;
irk_lookup_state_t
sm_irk_lookup_state
;
uint8_t
sm_pairing_failed_reason
;
uint8_t
sm_connection_encrypted
;
uint8_t
sm_connection_authenticated
;
bool
sm_connection_sc
;
uint8_t
sm_actual_encryption_key_size
;
sm_pairing_packet_t
sm_m_preq
;
authorization_state_t
sm_connection_authorization_state
;
uint16_t
sm_local_ediv
;
uint8_t
sm_local_rand
[
8
]
;
int
sm_le_db_index
;
bool
sm_pairing_active
;
bool
sm_reencryption_active
;
}
sm_connection_t
;
Fields
Field
Declared as
sm_connection::sm_handle
hci_con_handle_t
sm_connection::sm_cid
uint16_t
sm_connection::sm_role
uint8_t
sm_connection::sm_security_request_received
bool
sm_connection::sm_pairing_requested
bool
sm_connection::sm_peer_addr_type
uint8_t
sm_connection::sm_peer_address
bd_addr_t
sm_connection::sm_own_addr_type
uint8_t
sm_connection::sm_own_address
bd_addr_t
sm_connection::sm_engine_state
security_manager_state_t
sm_connection::sm_irk_lookup_state
irk_lookup_state_t
sm_connection::sm_pairing_failed_reason
uint8_t
sm_connection::sm_connection_encrypted
uint8_t
sm_connection::sm_connection_authenticated
uint8_t
sm_connection::sm_connection_sc
bool
sm_connection::sm_actual_encryption_key_size
uint8_t
sm_connection::sm_m_preq
sm_pairing_packet_t
sm_connection::sm_connection_authorization_state
authorization_state_t
sm_connection::sm_local_ediv
uint16_t
sm_connection::sm_local_rand
uint8_t
[
8
]
sm_connection::sm_le_db_index
int
sm_connection::sm_pairing_active
bool
sm_connection::sm_reencryption_active
bool
Related Functions
Found 27 other functions taking a
sm_connection
argument:
Function
sm_send_connectionless()
sm_pairing_error()
sm_pairing_complete()
sm_timeout_reset()
sm_reencryption_complete()
sm_pairing_started()
sm_key_distribution_handle_all_received()
sm_reencryption_started()
sm_trigger_user_response_basic()
sm_pdu_received_in_wrong_state()
sm_timeout_start()
sm_trigger_user_response_passkey()
sm_cache_ltk()
sm_key_distribution_complete_responder()
sm_master_pairing_success()
sm_trigger_user_response()
sm_ctkd_from_le()
sm_init_setup()
sm_stk_generation_init()
sm_store_bonding_information()
sm_key_distribution_validate_received()
sm_pdu_handler()
sm_key_distribution_complete_initiator()
sm_run_send_keypress_notification()
sm_run_distribute_keys()
sm_connection_init()
sm_start_calculating_ltk_from_ediv_and_rand()
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