ota
ota
JSON commands related to ota
upgradeFirmware
Summary
upgradeFirmware
Description
upgradeFirmware
Parameters
Name | Located in | Description | Required | Schema |
---|---|---|---|---|
url | query | query newest FW info url | Yes | string |
auto | query | true=device should write FW automatically once the new FW has been downloaded, false=device should wait for writeFirmware before writing FW | Yes | boolean |
Responses
Code | Description |
---|---|
200 | successful operation |
400 | Bad Request |
507 | Insufficient Storage |
checkFirmwareUpgradeStatus
Summary
checkFirmwareUpgradeStatus
Description
checkFirmwareUpgradeStatus
Responses
Code | Description | Schema |
---|---|---|
200 | successful operation | checkFirmwareUpgradeStatusResponse |
400 | Bad Request | |
408 | Request Timeout |
writeFirmware
Summary
writeFirmware
Description
writeFirmware
Responses
Code | Description |
---|---|
200 | successful operation |
400 | Bad Request |
409 | Conflict |