firmwareReboot method

Future<bool> firmwareReboot({
  1. required TransferType txType,
  2. String? destination,
})

Implementation

Future<bool> firmwareReboot({
  required TransferType txType,
  String? destination,
}) async {
  final response = await sendCommand<FirmwareRebootReply>(
    FirmwareRebootBleCommandTx(
      txType: txType,
      destination: destination,
    ),
  );
  return response != null && !response.hasErrors;
}