My App

reboot

Reboot the device

reboot

go-udap reboot <mac> [--timeout DURATION]

What it does

Sends UCP_METHOD_RESET (0x0004) to the device. The device reboots, which takes ~10 seconds during which it ignores all UDP traffic.

go-udap reboot returns success once the request has been sent; it does NOT wait for the device to finish rebooting.

Flags

FlagDefaultDescription
--timeout DURATION5sOperation timeout

Exit codes

  • 0 — success
  • 1 — invalid MAC
  • 2 — device not found, or transport error

On this page