7. LW2 Programmers' Reference
7.3. General LW2 Commands
7.3.1. Querying the Supported Commands
The LW2 commands supported by the device can be queried by this command.
Command and
Response #producttype
{LCMD}
(LCMD# <command>: <description>)CrLf
...
(LCMD END)CrLf
Example
{lcmd}
(LCMD# [inputNum]@[outputNum] <A|V>: Switch)
(LCMD# [inputNum]@O <A|V>: Switch to all)
(LCMD# #[outputNum] <A|V>: Mute)
...
(LCMD END)
INFO:
The response is longer, not all the lines can be seen in the example.
7.3.2. View Product Type
The device responds its name.
Command and Response
{i}
(I:<PRODUCT_TYPE>)CrLf
Example
{i}
(I:MMX8x4-HT420M)
7.3.3. View Serial Number
The device responds its 8-digit serial
Command and Response
{S}
(SN:<SERIAL_N>)CrLf
Example
{s}
(SN:00005484)
number. #serialnumber
MMX8x4-HT series – User's Manual
7.3.4. Query Device Label
The respond shows the device label which is a read-only parameter in LW2, but it can be changed by an LW3
command, see the
Command and Response
{LABEL=?}
(SN:<DEVICE_LABEL>)CrLf
Example
{LABEL=?}
(LABEL=MTG_ROOM_2)CrLf
7.3.5. Query Control Protocol
The device can be controlled with different control protocols. This command queries the active protocol of
the currently used control interface.
Command and Response
{P_?}
(CURRENT•PROTOCOL•=•#<protocol>)CrLf
Example
{P_?}
(CURRENT PROTOCOL = #1)
The device communicates with LW2 protocol.
7.3.6. View Firmware Version of the Firmware Package
View the installed firmware package
Command and Response
{f}
(FW:<FW_VER>•<s>)CrLf
Parameters
<FW_VER>
Example
{f}
(FW:1.0.0b15 r17)
Applied firmware package: v1.3.0 | LDC software: v2.4.2
Set the Device Label
section.
version. #firmwareversion
is the firmware package version. It is followed by
97
<s>
string which may indicate special versions.