syntax = "proto2";
package hw.trezor.messages.ble;

// Sugar for easier handling in Java
option java_package = "com.satoshilabs.trezor.lib.protobuf";
option java_outer_classname = "TrezorMessageBle";

import "options.proto";

option (include_in_bitcoin_only) = true;


/**
 * Request: erases BLE bond(s).
 *
 * If `all` is set, all bonds are erased.
 * If `addr` is provided, the bond for that specific device (6-byte MAC) is erased.
 * Otherwise, the bond for the currently connected device is erased.
 *
 * @start
 * @next Success
 * @next Failure
 */
message BleUnpair {
  optional bool all  = 1;  // whether to erase bonds for all devices
  optional bytes addr = 2; // 6-byte MAC address to unpair
}


