upload-update-file
Use this interface to upload the .mwf firmware file to your device.
HTTP Request
POST http://ip/usapi?method=upload-update-file
| Parameter | Description | 
|---|---|
| method | upload-update-file | 
Response Body
{
  "status": 0,
  "up-to-date": true,
  "version": "1.1.72",
  "size": 11890776
}
| Item | Description | 
|---|---|
| status | Indicates returned status. 0 indicates that the operation is performed successfully. Refer to API Status Codes to find specific description for other values. | 
| up-to-date | Indicates whether the current firmware is up to date. If yes, it is true; otherwise, it is false. | 
| version | Indicates the uploaded firmware version number. | 
| size | Indicates the uploaded file size in bytes. | 
Call update to update the unit after a successful upload.