#[repr(C)]pub struct ble_gap_sec_keyset_t {
pub keys_own: ble_gap_sec_keys_t,
pub keys_peer: ble_gap_sec_keys_t,
}
Expand description
@brief Security key set for both local and peer keys.
Fields§
§keys_own: ble_gap_sec_keys_t
< Keys distributed by the local device. For LE Secure Connections the encryption key will be generated locally and will always be stored if bonding.
keys_peer: ble_gap_sec_keys_t
< Keys distributed by the remote device. For LE Secure Connections, p_enc_key must always be NULL.
Trait Implementations§
source§impl Clone for ble_gap_sec_keyset_t
impl Clone for ble_gap_sec_keyset_t
source§fn clone(&self) -> ble_gap_sec_keyset_t
fn clone(&self) -> ble_gap_sec_keyset_t
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more