MMX2 series – User's Manual 79
Signature
DEFINITION: The signature is a four-digit-long hexadecimal value that can be optionally placed before
every command to keep a command and the corresponding responses together as a group.
number of the lines in the response cannot be determined in advance, e.g. the client intends to receive for the
whole response and also wants to be sure that the received lines belong together and to the same command.
In these cases, a special feature, the ‘signature’ can be used. The response to that particular command will
also be preceded by the signature, and the corresponding lines will be between brackets:
ç
æ {1700
æ
æ
æ
æ
æ
æ
æ }
INFO:
Subscription
DEFINITION:
changes.
the user does not want to be informed about the changes anymore, he can simply unsubscribe from the node.
ATTENTION! The subscriptions are handled separately for connections. Hence, if the connection is
terminated, all registered subscriptions are deleted. After reopening a connection all subscribe commands
Subscribe to a Node
ç
æ
Get the Active Subscriptions
ç OPEN
æ
æ
æ
æ
Subscribe to Multiple Nodes
ç
æ
Unsubscribe from a Node
ç
æ
Unsubscribe from Multiple Nodes
ç
æ
such a message is very similar to the response for the GET command:
æ
A Short Example of How to Use the Subscription
There are two independent users controlling the device through two independent connections (Connection #1
and Connection #2). The events in the rows occur after each other.
ç
æ
ç
æ
ç
æ
ç
æ
æ
Connection #1Connection #2) made a change,
Connection #1
Connection #2
Connection #1
}
}