#[repr(C)]
pub struct ble_gap_conn_desc { pub sec_state: ble_gap_sec_state, pub our_id_addr: ble_addr_t, pub peer_id_addr: ble_addr_t, pub our_ota_addr: ble_addr_t, pub peer_ota_addr: ble_addr_t, pub conn_handle: u16, pub conn_itvl: u16, pub conn_latency: u16, pub supervision_timeout: u16, pub role: u8, pub master_clock_accuracy: u8, }
Expand description

@brief Connection descriptor

Fields§

§sec_state: ble_gap_sec_state

Connection security state

§our_id_addr: ble_addr_t

Local identity address

§peer_id_addr: ble_addr_t

Peer identity address

§our_ota_addr: ble_addr_t

Local over-the-air address

§peer_ota_addr: ble_addr_t

Peer over-the-air address

§conn_handle: u16

Connection handle

§conn_itvl: u16

Connection interval

§conn_latency: u16

Connection latency

§supervision_timeout: u16

Connection supervision timeout

§role: u8

Connection Role Possible values BLE_GAP_ROLE_SLAVE or BLE_GAP_ROLE_MASTER

§master_clock_accuracy: u8

Master clock accuracy

Trait Implementations§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.