Web Serial interface to the register table CLI
No registers loaded
Connect a serial port; the table announces itself over list --json
| Command | Does | Answers |
|---|---|---|
list | every register with its value | table, or a JSON array with --json |
get <name> | read one value | the value, or {"value":..} |
set <name> <value> | write one value | OK / error, or {"result":"OK"} / {"error":".."} |
info <name> | type, permission, range, description | lines, or one JSON object |
help | this list, from the device itself | text |
--json may sit anywhere on the line. Argument counts are exact:
extras or omissions answer a usage error, never a guess.
| Type | Accepted writes |
|---|---|
| U8 / U16 / U32 | decimal or 0x hex; a leading zero is still decimal, never octal |
| I8 / I16 / I32 | same, with optional - / + |
| FLOAT | 1.5, 3e2, 0.004; nan is invalid, inf is out of range |
| BOOL | true / false in any case, or 1 / 0 |
ERR: not found · ERR: read-only ·
ERR: invalid value · ERR: out of range ·
ERR: rejected (an on_write hook said no) ·
ERR: usage: ... · ERR: too many arguments ·
ERR: line too long (an overlong line is dropped whole, never run truncated)
Lines end with \n or \r. The device echoes every
byte back. Backspace (0x08 / 0x7F) edits the line. All of this panel's
traffic is those same commands with --json; the Console tab
shows the raw exchange.
Connect to fill this section from the device's own list --json.