
Page 72 / 113
Section 7. Pro
grammer’s reference
Info: The subscriptions are handled separately for connections and not for users. Hence, if the
connection is terminated all registered subscriptions are deleted. After every connection
the subscribe command has to be sent in order to get the notifications of the changes.
Subscribe to a node
Command format:
OPEN
●[nodePath]
Response format
: o-
●[nodePath]
Example:
> OPEN●/MANAGEMENT/NETWORK
< o-●/MANAGEMENT/NETWORK
Subscribe to multiple nodes
In order to subscribe to multiple nodes, asterisk wildchar can be used.
Command format:
OPEN
●[nodePath]/*
Response format:
o-
●[nodePath]/*
Example:
> OPEN●/MANAGEMENT/LOG/*
< o-●/MANAGEMENT/LOG/*
Get the active subscriptions
Issuing an
‘OPEN’ command without any parameters returns the active subscriptions for
the current connection.
Command format
: OPEN
Response format
: o-
●[nodePath]
Example:
> OPEN
< o-●/SYS/CORE
< o-●/MEDIA/VIDEO
< o-●/MEDIA/AUDIO
< o-●/MEDIA/IR
< o-●/MEDIA/UART
Unsubscribe from a node
Command format
: CLOSE
●[nodePath]
Response format
: c-
●[nodePath]
Example:
> CLOSE●/MANAGEMENT/LOCK
< c-●/MANAGEMENT/LOCK
Unsubscribe from multiple nodes
In order to subscribe to multiple nodes, asterisk wildchar can be used.
Command format:
CLOSE
●[nodePath]/*
Response format:
c-
●[nodePath]/*
Example:
> CLOSE●/MANAGEMENT/*
< c-●/MANAGEMENT/*