nma.firmware.info.get
- Title: get firmware info
- Description: gets latest firmware info
Edit
Field | Type | Required | Description |
---|---|---|---|
version | string | + | current firmware version |
Edit
- response (firmware update is available):
Field | Type | Required | Description |
---|---|---|---|
version | string | + | new firmware version |
urls.firmware | string | + | firmware file url |
urls.checksum | string | + | firmware checksum file url |
signature | string | + | signature |
force | int | + | force update flag |
- response (no firmware update is available):
Edit
- request:
{
"id": "Z4E40EE6F",
"method": "nma.firmware.info.get",
"params": {
"version": "0.8.1"
}
}
- response (firmware update is available):
{
"id": "Z4E40EE6F",
"method": "nma.firmware.info.get",
"error": null,
"result": {
"version": "0.8.2",
"urls": {
"firmware": "http://download_firmware_url",
"checksum": "http://download_checksum_url"
},
"signature": "ABCDEF",
"force": 0
}
}
- response (no firmware update is available):
{
"id": "Z4E40EE6F",
"method": "nma.firmware.info.get",
"error": null,
"result": {}
}