enterDfuBootloader method

  1. @override
Future<VtjCommandResult<EnterDfuBootloaderResult>> enterDfuBootloader(
  1. BluetoothDevice device
)
override

Reboot the device into DFU Bootloader mode for firmware upgrade. Note: Device will disconnect after this command. See BLE Interface Specification Section 7.10

Implementation

@override
Future<VtjCommandResult<EnterDfuBootloaderResult>> enterDfuBootloader(
  BluetoothDevice device,
) {
  return _executeCommand<EnterDfuBootloaderResult>(
    device: device,
    createCommand: () => EnterDfuBootloaderCommand(),
  );
}