diff --git a/core/embed/rust/src/ui/event/ble.rs b/core/embed/rust/src/ui/event/ble.rs index 89d3f31de9..fd0f8d0172 100644 --- a/core/embed/rust/src/ui/event/ble.rs +++ b/core/embed/rust/src/ui/event/ble.rs @@ -6,6 +6,7 @@ pub enum BLEEvent { Connected, Disconnected, PairingRequest(&'static [u8]), + PairingCanceled, } impl BLEEvent { @@ -14,6 +15,7 @@ impl BLEEvent { 1 => Self::Connected, 2 => Self::Disconnected, 3 => Self::PairingRequest(data), + 4 => Self::PairingCanceled, _ => return Err(Error::OutOfRange), }; Ok(result)