| Number |
Nmonic |
Len |
Description |
| 0 |
(invalid) |
0 |
Invalid code, not to be sent. |
| 1 |
negotiation |
T |
String, sends options or requests. |
| 2 |
declare-tag |
T |
64 bit tag info followed by the string tag nmonic. TagInfo { short-be flags; //1&=compound, 2&=fixed length, 8-128&=encoding related, it is an error if an unknown flag is set short-be tag; //tag value byte len; //length for fixed len objs, 0 means no-data byte class; //value class for primitives, 0=default/raw, 1=string, 2=integer, 3=ieee float; intended more as a decoder hint byte resv[2]; } |
| 3-31 |
(reserved) |
T |
Reserved tags. It is considered an error if one
of these is recieved and is unknown. |
| Form |
Description |
| ?<var> |
Request the value of the variable on the other
end. |
| =<var> <val> |
Response to a request for a value/assignment,
or to declare some property. |
| !<var> <val> |
Try to assign a value on the other end. |
| E<name> <opts> <description...> |
There was an error, name is an error name, opts is
a comma seperated list of options ('-' for none), description is some text. |