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
| Flag | Default | Description |
|---|---|---|
--timeout DURATION | 5s | Operation timeout |
Exit codes
0— success1— invalid MAC2— device not found, or transport error