|
This is the central command used to query and set values.
Without argument, the command returns the list of all the fields defined in the protocol
with their value. To get the value of one field, just append its name after configure.
To set one or more values, append one or more couples of field/value. The accepted values
depends on the type of the field (integer, string, list, flag, address, ...).
The rule to name a field is :
- the name of the field
- for array field, the name alone means the whole array. Explicit the index to
access an identified value inside the array (e.g. name(1)). The
elements are indexed from 0.
- for mapper filed, the name alone means all the subfields. The access one member,
use a dotted notation (e.g. name.subfield).
- use combination of the above rules when the protocol is complex. For example,
a valid name is : name(2).subfield.subsubfield(0)
|