
7. LW3 Programmer's Reference
HDMI-3D-OPT series – User's Manual
70
7.9.5.
Parity Setting
Command format
:
SET
●
/MEDIA/UART/<P
n
>.Parity=0|1|2
Response format
:
pw
●
/MEDIA/UART/<P
n
>.Parity=0|1|2
Parameters
:
.Parity
0
1
2
Parity setting
no parity
odd
even
Example
:
˃
SET /MEDIA/UART/P1.Parity=0
˂
pw /MEDIA/UART/P1.Parity=0
7.9.6.
RS-232 Operation Mode
Command format
:
SET
●
/MEDIA/UART/<P
n
>.Rs232Mode=0|1|2
Response format
:
pw
●
/MEDIA/UART/<P
n
>.Rs232Mode=0|1|2
Parameters
:
.Rs232Mode
0
1
2
RS-232 operation mode
Pass-through
Control
Command injection
Example
:
˃
SET /MEDIA/UART/P1.Rs232Mode=1
˂
pw /MEDIA/UART/P1.Rs232Mode=1
INFO: See more information about RS-232 modes in the
Command Injection Mode
Command format
:
SET
●
/MEDIA/UART/<P
n
>.CommandInjectionEnable=true|false
Response format
:
pw
●
/MEDIA/UART/<P
n
>.CommandInjectionEnable=true|false
Example
:
˃
SET /MEDIA/UART/P1.CommandInjectionEnable=true
˂
pw /MEDIA/UART/P1.CommandInjectionEnable=true
ATTENTION!
The Command injection status is stored in another read-only property:
/MEDIA/UART/<P
n
>.CommandInjectionStatus.
7.10.
Sending Message via the Communication Ports
7.10.1.
Sending Message via TCP Port
The device can be used for sending a message to a certain IP:port address. The three different commands
allow controlling the connected (third-party) devices.
Sending TCP Message
The command is for sending a command messages in ASCII-format with an option for escaping special charaters.
Command format
:
CALL
●
/MEDIA/ETHERNET.tcpMessage(<IP_address>:<port_no>=<message>)
Response format
:
mO
●
/MEDIA/ETHERNET:tcpMessage
Example
:
˃
CALL /MEDIA/ETHERNET.tcpMessage(192.168.0.20:5555=PWR0\x0d\x0a)
˂
mO /MEDIA/ETHERNET:tcpMessage
Escaping in the Message
When commands need to be separated by <CR><LF> charaters to be recognized by the controlled device,
then they need to be escaped. You can use the following format for escaping:
<command
1
><\x0d\x0a><command
2
><\x0d\x0a>...<command
n
><\x0d\x0a>
Sending Text Message
The command is for sending a text message in ASCII-format.
INFO: Escaping will not be processed using the
tcpText
command.
Command format
:
CALL
●
/MEDIA/ETHERNET.tcpText(<IP_address>:<port_no>=<message>)
Response format
:
mO
●
/MEDIA/ETHERNET:tcpText
Example
:
˃
CALL /MEDIA/ETHERNET.tcpText(192.168.0.20:5555=pwr_on)
˂
mO /MEDIA/ETHERNET:tcpText
Sending Binary Message
The command is for sending a binary message in HEX format.
INFO: Escaping will not be processed using the
tcpBinary
command.
Command format
:
CALL
●
/MEDIA/ETHERNET.tcpBinary(<IP_address>:<port_no>=<message>)
Response format
:
mO
●
/MEDIA/ETHERNET:tcpBinary
Example
:
˃
CALL /MEDIA/ETHERNET.tcpBinary(192.168.0.20:5555=0100000061620000cdcc2c40)
˂
mO /MEDIA/ETHERNET:tcpBinary