Notifications About The Changes Of The Properties; Signature; Manual - Lightware MODEX-OPTS-TX User Manual

Hide thumbs Also See for MODEX-OPTS-TX:
Table of Contents

Advertisement

8.2.7. Notifications about the changes of the properties

When the value of a property is changed and the user is subscribed to the node, which the
property belongs to, an asynchronous notification is generated. This notification is called
as the 'change message'. The format of such a message is very similar to the response for
'GET' command.
Format: CHG●[nodePath].[propertyName]=[newPropertyValue]
Example:

8.2.8. Signature

For some command the response can contain multiple lines. Every line is terminated with
a carriage return (Cr, '\r') and line feed (Lf, '\n') characters. In several cases the number of
the lines in the response cannot be determined in advance. In several cases the client is
intended waiting for the whole response and also wants to be sure, that received lines
belong together and to the same command. In these cases a special feature the 'signature'
can be used.
The signature is a four-digit-long hexadecimal value that can be optionally placed before
every command. In that case, the response to that particular command will also be
preceded by the signature, and the corresponding lines will be in between brackets.
Command format: XXXX#[command]
Legend:
Response format:
{XXXX
[command lines]
}
Example:
Info: The lines of the signature are also Cr and Lf terminated.

8.2.9. Manual

For every property and method in the tree there is a manual. The manual is a human
readable text that describes the syntax and provides a hint for how to use the primitives.
Command format:
Response format:
The human readable manual is separated by a space (' ') character from the primitives.
Page 66 / 90
CHG●/MEDIA/IR.P1=IR Input
xxxx: four-digit-long hexadecimal value.
> 0001#GET●/MEDIA
< {0001
< n-●/MEDIA/VIDEO
< n-●/MEDIA/AUDIO
< n-●/MEDIA/UART
< n-●/MEDIA/IR
< n-●/MEDIA/PACKETROUTER
< }
for property:
MAN●[nodePath].[propertyName]
for method:
MAN●[nodePath]:[methodName]
for properties: pm●[nodePath].[propertyName]●Human readable manual
for methods:
mm●[nodePath]:[methodName]●Human readable manual
Section 8. Programmer's reference

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the MODEX-OPTS-TX and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Modex-opts-rxModex-optm-txModex-optm-rx

Table of Contents