Page 70 / 113
Section 7.
Programmer’s reference
7.2.3. Get all child nodes, properties and methods of a node
Get all child nodes, properties and methods of a node with one command, without using a
wildchar.
Command format:
GETALL
●[nodePath]
Response format:
(for nodes)
n-
●[nodePath]
Response format:
(for properties)
pX
●[nodePath].[propertyName]=[parameter]
Legend:
X can be:
‘r’:
read-only
‘w’:
read-write
Response format:
(for methods)
m-
●[nodePath]:[methodName]
Example:
> GETALL●/MANAGEMENT
< n-●/MANAGEMENT/NETWORK
< n-●/MANAGEMENT/STATUS
< n-●/MANAGEMENT/LOCK
< n-●/MANAGEMENT/LOG
< pr●/MANAGEMENT.rebootNeeded=false
< pw●/MANAGEMENT.WebEnvironment=
< m-●/MANAGEMENT:Udc
< m-●/MANAGEMENT:Msg
Info: The command does not list child nodes and properties of listed child nodes, only that
belongs
to
the
node
directly.
E.g.
the
child
nodes
and
properties
of
/MANAGEMENT/NETWORK is not listed in this example, those can be queried if
‘GETALL
●
/MANAGEMENT/NETWORK’ is run.
7.2.4. Set command
The setter command can be used to modify the value of a property.
Command format:
SET
●[nodePath].[propertyName]=[newPropertyValue]
Response format:
The response for setting a property to a new value is the same as the response for
‘GET’
command. The value in the response is the new value if the execution of
‘SET’ command
was successful, otherwise the unmodified
‘old value’ with an error message.
pw
●[nodePath].[propertyName]=[newPropertyValue]
Example:
> SET●/MANAGEMENT/NETWORK.PortNumber=6107
< pw●/MANAGEMENT/NETWORK.PortNumber=6107
Error response format:
If there were errors during setting a property, an error message follows the unmodified
property value. Find the error numbers in section
pE
●[nodePath].[propertyName]=[umodifiedValue]●%EXXX:Error message
Legend:
XXX: error number (see section