BleError:
| { type_: "ADAPTER_NOT_ENABLED" }
| { type_: "SCAN_ALREADY_STARTED" }
| { type_: "SCAN_NOT_STARTED" }
| { type_: "BROADCAST_ALREADY_STARTED" }
| { type_: "BROADCAST_NOT_STARTED" }
| { type_: "ANOTHER_OPERATION_IN_PROGRESS" }
| { type_: "WRITE_DATA_TOO_LONG" }
| { address: string; type_: "DEVICE_ADDRESS_NOT_FOUND" }
| { service: string; type_: "SERVICE_NOT_FOUND" }
| { characteristic: string; type_: "CHARACTERISTIC_NOT_FOUND" }
| { type_: "INVALID_UUID"; uuid: string }
| { address: string; type_: "DEVICE_NOT_CONNECTED" }
| {
characteristic: string;
operation: string;
service: string;
type_: "INVALID_CHARACTERISTIC_OPERATION";
}
| { type_: "NOT_SUPPORTED" }
| { type_: "NOT_AUTHORIZED" }
| { type_: "SERVER_NOT_RUNNING" }
| { reason: string; type_: "UNKNOWN" }