diff --git a/core/embed/io/ble/inc/io/ble.h b/core/embed/io/ble/inc/io/ble.h index 68d6167abe8..d7247061aa6 100644 --- a/core/embed/io/ble/inc/io/ble.h +++ b/core/embed/io/ble/inc/io/ble.h @@ -49,7 +49,6 @@ typedef union { typedef struct { ble_command_type_t cmd_type; - int connection_id; uint8_t data_len; ble_command_data_t data; } ble_command_t; diff --git a/core/embed/rust/src/trezorhal/ble.rs b/core/embed/rust/src/trezorhal/ble.rs index 90ce282024a..c566d32ff51 100644 --- a/core/embed/rust/src/trezorhal/ble.rs +++ b/core/embed/rust/src/trezorhal/ble.rs @@ -19,7 +19,6 @@ pub fn pairing_mode(name: &str) { unsafe { let mut cmd = ffi::ble_command_t { cmd_type: ffi::ble_command_type_t_BLE_PAIRING_MODE, - connection_id: 0, data_len: 0, data: ffi::ble_command_data_t { raw: [0; 32] }, }; @@ -39,7 +38,6 @@ pub fn allow_pairing() { unsafe { let mut cmd = ffi::ble_command_t { cmd_type: ffi::ble_command_type_t_BLE_ALLOW_PAIRING, - connection_id: 0, data_len: 0, data: ffi::ble_command_data_t { raw: [0; 32] }, }; @@ -51,7 +49,6 @@ pub fn reject_pairing() { unsafe { let mut cmd = ffi::ble_command_t { cmd_type: ffi::ble_command_type_t_BLE_REJECT_PAIRING, - connection_id: 0, data_len: 0, data: ffi::ble_command_data_t { raw: [0; 32] }, };