Struct stm32wb_hci::event::EncryptionChange
source · pub struct EncryptionChange<VS> {
pub status: Status<VS>,
pub conn_handle: ConnectionHandle,
pub encryption: Encryption,
}Expand description
The Encryption Change event is used to indicate that the change of the encryption mode has been completed.
This event will occur on both devices to notify the Hosts when Encryption has changed for the specified connection handle between two devices. Note: This event shall not be generated if encryption is paused or resumed; during a role switch, for example.
See the Bluetooth v4.1 spec, Vol 2, Part E, Section 7.7.8.
Fields§
§status: Status<VS>Indicates if the encryption change was successful or not.
conn_handle: ConnectionHandleConnection handle for which the link layer encryption has been enabled/disabled for all connection handles with the same BR/EDR Controller endpoint as the specified connection handle.
The connection handle will be a connection handle for an ACL connection.
encryption: EncryptionSpecifies the new encryption type parameter for
conn_handle.
Trait Implementations§
source§impl<VS: Clone> Clone for EncryptionChange<VS>
impl<VS: Clone> Clone for EncryptionChange<VS>
source§fn clone(&self) -> EncryptionChange<VS>
fn clone(&self) -> EncryptionChange<VS>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more