7. LW2 Programmers' Reference
7
L W2 Programmers' Reference
The device can be controlled through a reduced command set of LW2 protocol
commands to ensure the compatibility with other Lightware products. The
supported LW2 commands are described in this chapter.
LW2 Protocol Description
Ý
Router Status Commands
Ý
Crosspoint Operations
Ý
Preset Handling
Ý
Commands - Quick Summary
Ý
MX2-HDMI20 series – User's Manual
7.1. LW2 Protocol Description
Communication
Below listed command can be sent to the device in RAW format via the TCP/IP port no. 10001.
The device accepts commands surrounded by curly brackets - { } - and responds data surrounded by round
brackets - ( ) - only if a command was successfully executed.
Format Explanation
<in>
Input number in 1 or 2 digit ASCII format (01, 5, 07, 16, etc.)
<out>
Output number in 1 or 2 digit ASCII format
<in
>
Input number in 2 digit ASCII format (01, 02, 10, 12 etc.)
2
<out²> Output number in 2 digit ASCII format (01, 02, 10, 12 etc.)
<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
←
7.2. Router Status Commands
7.2.1. View Product Type
Description: Identification of the device. Type 'i' or 'I' then the device responds its name.
Format
Command {I}
Response (<PRODUCT_TYPE>)CrLf
7.2.2. View Serial Number
Description: The device responds its 8-digit serial number.
Format
Command {S}
Response (SN:<SERIAL_N>)CrLf
Example
→ {i}
← (I:MX2-8X8-HDMI2-AUDIO)CrLf
Example
→ {s}
← (SN:00004272)CrLf
47