ble/stack/connection.h header reference
[Bluetooth Low Energy library module]

The source code of this header can be browsed online.

Description [link] 

this header contains all declarations for a Connection handler.

Members [link] 

Types [link] 

Functions [link] 

Members detail [link] 

#define BLE_STACK_CONNECTION_H_ [link] 

This macro is declared in ble/stack/connection.h source file, line 21.

error_t ble_stack_connection_create(struct ble_stack_connection_s *conn, struct ble_stack_context_s *context, const struct ble_stack_connection_handler_s *chandler, const struct ble_stack_context_handler_s *handler, bool_t is_master, const struct ble_phy_params_s *phy_params, const struct ble_gap_preferred_conn_params_s *wanted_timing) [link] 

This function is declared in ble/stack/connection.h source file, line 96.

void ble_stack_connection_drop(struct ble_stack_connection_s *conn) [link] 

This function is declared in ble/stack/connection.h source file, line 114.

struct ble_stack_connection_handler_s [link] 

This struct is declared in ble/stack/connection.h source file, line 49.

FieldDescription
void (*pairing_requested)(struct ble_stack_connection_s *conn, bool_t bonding) ;
void (*pairing_failed)(struct ble_stack_connection_s *conn, enum sm_reason reason) ;
void (*bonding_success)(struct ble_stack_connection_s *conn) ;
void (*connection_closed)(struct ble_stack_connection_s *conn, uint8_t reason) ;

void ble_stack_connection_pairing_abort(struct ble_stack_connection_s *conn, enum sm_reason reason) [link] 

This function is declared in ble/stack/connection.h source file, line 110.

Preprocessor condition: defined( CONFIG_BLE_CRYPTO )

void ble_stack_connection_pairing_accept(struct ble_stack_connection_s *conn, bool_t mitm_protection, uint32_t pin, const void *oob_data) [link] 

This function is declared in ble/stack/connection.h source file, line 107.

Preprocessor condition: defined( CONFIG_BLE_CRYPTO )

void ble_stack_connection_pairing_request(struct ble_stack_connection_s *conn, bool_t mitm_protection, bool_t bonding) [link] 

This function is declared in ble/stack/connection.h source file, line 102.

Preprocessor condition: defined( CONFIG_BLE_CRYPTO )

struct ble_stack_connection_s [link] 

This struct is declared in ble/stack/connection.h source file, line 75.

this struct is a connection stack utility. This contains reference to layers that are alive while connected.

struct ble_stack_context_handler_s [link] 

This struct is declared in ble/stack/connection.h source file, line 63.

This struct is for internal use only.

FieldDescription
void (*pairing_success)(struct ble_stack_connection_s *conn) ;
void (*state_changed)(struct ble_stack_connection_s *conn, bool_t connected) ;
Valid XHTML 1.0 StrictGenerated by diaxen on Thu Aug 4 15:44:05 2022 using MkDoc