6. LW2 Programmer's Reference
UMX-HDMI-140 series– User's Manual
70
Applied firmware package: v1.3.0b5 | LDC software: v2.5.6b2
6.3.
General LW2 Commands
6.3.1.
List of All Available LW2 Commands
Command and Response
ȩ
{lcmd}
Ȩ
(LCMD# LCMD: List all commands)CrLf
Ȩ
<LW2_commands>
CrLf
Ȩ
(LCMD END)CrLf
Example
ȩ
{lcmd}
Ȩ
(LCMD# LCMD: List all commands)
Ȩ
(LCMD# PING: Always response PONG)
Ȩ
(LCMD# CT: Compile time)
Ȩ
...
Ȩ
(LCMD END)
6.3.2. Product Type Query
The device responds its name.
#producttype
Command and Response
ȩ
{i}
Ȩ
(I:
<product_type>
)CrLf
Example
ȩ
{i}
Ȩ
(I:UMX-HDMI-140)
6.3.3. Control Protocol Query
The device can be controlled with different control protocols. This command queries the active protocol of
the currently used control interface.
#protocol
Command and Response
ȩ
{p_?}
Ȩ
(CURRENT
·
PROTOCOL
·
=
·
#
<protocol>
)CrLf
Example
ȩ
{p_?}
Ȩ
(CURRENT PROTOCOL = #1)
Explanation
The device communicates with LW2 protocol.
6.3.4. Firmware Version Query
Command and Response
#firmwareversion
ȩ
{f}
Ȩ
(FW:
<firmware_version>
)CrLf
Example
ȩ
{f}
Ȩ
(FW:1.2.0b8 r45)
6.3.5.
Connection Test
Simple test to see if the connection is established successfully.
Command and Response
ȩ
{ping}
Ȩ
(PONG!)CrLf
Example
ȩ
{ping}
Ȩ
(PONG!)
6.3.6. Serial Number Query
The device responds its 8-digit serial number.
#serialnumber
Command and Response
ȩ
{s}
Ȩ
(SN:
<serial_number>
)CrLf
Example
ȩ
{s}
Ȩ
(SN:A2000274)
6.3.7.
Compile Time
Returns the date, when the CPU firmware was compiled.
Command and Response
ȩ
{ct}
Ȩ
(COMPILED:·
<date>
·
<time>
)CrLf
Example
ȩ
{ct}
Ȩ
(Compiled: Oct 29 2020 17:16:28)