hw/fw_update
The hw/fw_update URI initiates or tests the status of a firmware update. Updating the firmware in the WVA is a three stage process:
- The firmware update image must be transferred to the device. This transfer operation can be performed through Digi Remote Manager, the web user interface, or web services. See Filesystem interfaces for more information.
- This web services URI can be used to initiate a firmware update using the uploaded file.
- This web services URI can be used to determine the status of the firmware update.
URI path
hw/fw_update
Supported request methods
GET
Query the state of the firmware update process (if any). Possible firmware update states include:
- running: Normal running, no update in progress.
- updating: Firmware update is in progress.
- updatefailed: The most recent firmware update failed.
- unknown
PUT
Initiate a firmware update with a target file already in the filesystem.
Supported content types
GET records
XML
<fw_update><status>update_state</status></fw_update>
JSON
{ “fw_update” : { “status” : “update_state” } }
PUT records
XML
<fw_update><filename>file_path</filename></fw_update>
JSON
{“fw_update” : { “filename” : “file_path” } }