Struct bluetooth_hci::host::EncryptionParameters [−][src]
pub struct EncryptionParameters { pub conn_handle: ConnectionHandle, pub random_number: u64, pub encrypted_diversifier: u16, pub long_term_key: EncryptionKey, }
Parameters for the le_start_encryption
command.
Fields
conn_handle: ConnectionHandle
ID for the connection.
random_number: u64
Random value distrubuted by the peripheral during pairing
encrypted_diversifier: u16
Encrypted diversifier distrubuted by the peripheral during pairing
long_term_key: EncryptionKey
Encryption key, distributed by the host.
Auto Trait Implementations
impl Send for EncryptionParameters
impl Send for EncryptionParameters
impl Sync for EncryptionParameters
impl Sync for EncryptionParameters