6. Programmer's Reference
DVIDL-OPT series – User's Manual
22
Programmer's Reference
The device can be controlled through a command set of protocol commands
to ensure the compatibility with other Lightware products. The supported
commands are described in this chapter.
ç
ç
ç
ç
INFO: The extenders support LW2 command protocol set only. LW3 command set is not supported.
Lightware extenders have a special protocol, but to interoperate with third-party devices, a secondary
protocol is also provided.
6.1.
Protocol Description
The protocol description hereinafter stands for Lightware protocol.
The device accepts commands surrounded by curly brackets - { } - and responds data surrounded by round
brackets - ( ) - only if a command was successfully executed. All input commands are converted to uppercase,
but respond commands can contain upper and lower case letters as well.
Legend for control commands:
Format
Explanation
<loc>
Location number in 1, 2 or 3 digit ASCII format
<id>
id number in 1 or 2 digit ASCII format
<id²>
id number in 2 digit ASCII format
CrLf
Carriage return, Line feed (0x0D, 0x0A)
•
Space character (0x20)
Each command issued by the controller
Each response received from the router
6.2.
Status Commands
6.2.1.
View Product Type
Description:
Identification of the device. Type ‘i’ or ‘I’ then the device responds its name.
Explanation:
The connected device is a DVIDL-OPT-TX200.
6.2.2.
View Serial Number
Description
: The device responds its 8-digit serial number.
Legend:
< SERIAL_N > shows the serial number of the device.
Explanation:
The connected device’s serial number is 3C019935.
Format
Example
Command {I}
{i}
Response (I:<PRODUCT_TYPE>)CrLf
(I:DVIDL-OPT-TX200)
Format
Example
Command {S}
{s}
Response (SN:<SERIAL_N>)CrLf
(SN:3C019935)