{"cmd":"version", ...}
This command returns the version of the firmware.
Key, value pairs
Key | Value | Required | Description |
"cmd" | "version" | Yes | Returns the version of the firmware. |
"id" | Int (>0) | No | Id can be any positive integer. If id is not provided, status of the command will not be returned from the controller. |
Response
Key | Value | Description |
"cmd" | "version" | In response to version command a response is returned with cmd field set to version which includes the current version of the firmware. |
"id" | Int (>0) | Same id as the original command. |
"version" | Int (>0) | The current version of the firmware. |
Example
{"cmd":"version", "id":10}
This command will return the firmware version:
{"cmd":"version", "version" : 102, "id":10}
Error codes
Stat | Value |
-300 | Halt already in process |
-400 | Alarm activated |
Last updated on 7/12/2022