reset method

Future<void> reset(
  1. Duration timeout
)

Resets (reboots) the device.

You will probably have to reconnect and create a new client after calling this.

Implementation

Future<void> reset(Duration timeout) {
  return execute(
    Message(
      op: Operation.write,
      group: _osGroup,
      id: _osCmdReset,
      flags: 0,
      data: CborMap({}),
    ),
    timeout,
  ).unwrap();
}