upload-update-file 接口
上传固件,上传文件格式为.mwf。
请求方式
POST http://ip/usapi?method=upload-update-file
| 参数 | 说明 | 
|---|---|
| method | 方法名称:upload-update-file | 
返回数据
{
  "status": 0,
  "up-to-date": true,
  "version": "1.1.72",
  "size": 11890776
}
| 属性 | 说明 | 
|---|---|
| status | 返回状态,0:上传成功,返回其它值请参考 API 状态码 | 
| up-to-date | 是否为最新版本,true/false | 
| version | 上传固件版本号 | 
| size | 上传固件大小 (B) | 
固件上传完成后,可以调用 update 接口进行更新。