Skip to content

Commit 13a279f

Browse files
committed
Update readme
1 parent 4bf26cf commit 13a279f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -79,3 +79,12 @@ Extract a template from an existing thing. The template can be saved in two form
7979
Bind a thing to an existing device:
8080

8181
`$ iot-cloud-cli thing bind --id <thingID> --device-id <deviceID>`
82+
83+
## Ota commands
84+
85+
Perform an OTA firmware update. Note that the binary file (`.bin`) should be compiled using an arduino core that supports the specified device.
86+
The default OTA upload should complete in 10 minutes. Use `--deferred` flag to extend this time to one week.
87+
88+
`$ iot-cloud-cli ota upload --device-id <deviceID> --file <sketch-file.ino.bin>`
89+
90+
`$ iot-cloud-cli ota upload --device-id <deviceID> --file <sketch-file.ino.bin> --deferred`

0 commit comments

Comments
 (0)