MMX2 series – User's Manual 78
Command Types
GET command
The GET
be used to get the value of a property. Use the dot character (.) when addressing a property:
ç
æ
GETALL command
The GETALL command can be used to get all child nodes, properties and methods of a node with one
command.
ç
æ
æ
æ
æ
æ
SET command
The SET command can be used to modify the value of a property. Use the dot character (.) when addressing
the property:
ç
æ
CALL command
A method can be invoked by the CALL command. Use the colon character (:) when addressing the method:
ç
æ
MAN command
The manual is a human readable text that describes the syntax and provides a hint on how to use the
primitives. For every node, property and method in the tree there is a manual, type the MAN command to get
the manual:
ç
æ
DEFINITION:
Description Description
n- a node pm a manual for the property
nE an error for a node m- a method
nm a manual for a node mO a response after a successful method execution
pr a read-only property mF a response after a failed method execution
pw read-write property mE an error for a method
pE an error for the property mm a manual for a method
Error Messages
ç
æ
Escaping
DEFINITION: An escape sequence is a sequence of characters that does not represent itself when used
inside a character or string literal, but is translated into another character or a sequence of characters.
Property values and method parameters can contain characters that are used as control characters in the
protocol. They must be escaped. The escape character is the backslash (‘\’) and escaping means injecting
a backslash before the character that should be escaped (like in C language).
Control characters are the following: \ { } # % ( ) \r \n \t