Change Command Injection Port Number; Enable/Disable Output Signal Modulation; Message Sending Via Communication Ports; Sending A Text (Ascii-Format) Via Serial Port - Lightware UBEX-PRO20-HDMI-F110 User Manual

Av over ip multimedia extender
Hide thumbs Also See for UBEX-PRO20-HDMI-F110:
Table of Contents

Advertisement

 
 
7. Programmers' Reference
7. Programmers' Reference
7.14.3. Change Command Injection Port Number
Command and Response
SET·/MEDIA/IR/<in|out>.CommandInjectionPort=<port_no>
ç
pw·/MEDIA/IR/<in|out>.CommandInjectionPort=<port_no>
æ
Example
ç SET /MEDIA/IR/S1.CommandInjectionPort=9001
æ pw /MEDIA/IR/S1.CommandInjectionPort=9001
7.14.4. Enable/Disable Output Signal Modulation
Command and Response
SET·/MEDIA/IR/<out>.EnableModulation=<logical_value>
ç
pw·/MEDIA/IR/<out>.EnableModulation=<logical_value>
æ
Parameters
Identifier
Parameter description
Signal modulation enable/
<logical_value>
disable setting
Example
ç SET /MEDIA/IR/D1.EnableModulation=false
æ pw /MEDIA/IR/D1.EnableModulation=false

INFO:
The default setting value is true (enabled).
7.15. Message Sending via Communication Ports

DIFFERENCE:
Only the UBEX-PRO20-HDMI-F110 model has built with serial and Infrared interface ports.
7.15.1. Sending a Text (ASCII-format) via Serial Port
The command is for sending a command message in ASCII-format. This method does not allow sending
message with control and non-printable characters.
Command and Response
ç CALL•/MEDIA/UART/<port>:sendText(<message>)
æ mO•/MEDIA/UART/<port>:sendText
Example
ç CALL /MEDIA/UART/P1:sendText(open)
æ mO /MEDIA/UART/P1:sendText
The 'open' text is sent out via the P1 serial port.
UBEX series – Extender Application Mode – User's Manual
UBEX series – Extender Application Mode – User's Manual
Value
Explanation
true
The signal modulation is enabled.
false
The signal modulation is disabled.
#message
Applied F-series endpoint firmware package: v1.4.1 | Applied R-series endpoint firmware package: v1.4.1 | LDC software: v1.34.0b2
7.15.2. Sending a Binary Message (HEX-format) via Serial Port
The command is for sending a command message in Hexadecimal-format. This method does not require
escaping the control and non-printable characters.
Command and Response
ç CALL•/MEDIA/UART/<port>:sendBinaryMessage(<message>)
æ mO•/MEDIA/UART/<port>:sendBinaryMessage
Example
ç CALL /MEDIA/UART/P1:sendBinaryMessage(433030)
æ mO /MEDIA/UART/P1:sendBinaryMessage
The '433030' binary message ('C00' in ASCII format) is sent out via the P1 serial port.
7.15.3. Sending a Message (ASCII-format) via Serial Port
The command is for sending a command message in ASCII-format. This method allows escaping the control
characters, see the
Escaping
section.
Command and Response
ç CALL•/MEDIA/UART/<port>:sendMessage(<message>)
æ mO•/MEDIA/UART/<port>:sendMessage
Example
ç CALL /MEDIA/UART/P1:sendMessage(PWR0)
æ mO /MEDIA/UART/P1:sendMessage
The 'PWR0' message is sent out via the P1 serial port.
Escaping in the Message
When commands need to be separated by <CR><LF> characters to be recognized by the controlled device,
then they need to be escaped. You can use the following format for escaping:
<command><\x0d\x0a><command><\x0d\x0a>...<command><\x0d\x0a>
102
102

Advertisement

Table of Contents
loading

Table of Contents