6. Programmer's Reference
6.9. Serial Port Settings
ATTENTION!
The new port settings are stored but applied only if the applySettings method is called which
will reboot the device. When two or more serial parameters are changed the applySettings method is
enoughtocallonceasafinalstep;itresultstheextendertoreboot.
INFO:
Below listed commands can be used to set the RS-232 port parameters. To query the current value
of a parameter use the GET command, e.g.: GET /MEDIA/UART/P1.BaudRate.
6.9.1. Setting the Port Availability
ATTENTION!
The port must be enabled for the RS-232 data transmission; use this command.
Command and Response
#rs232 #rs-232 #serial
SET•/MEDIA/UART/<port>.Enabled=<port_status>
ç
pw•/MEDIA/UART/<port>.Enabled=<port_status>
æ
Parameters
If the
<port_status>
parameter is 0 (or false)thereisnoRS-232datatransmissionto/fromanotherdevice.If
the value is 1 (or true) the RS-232 data transmission is enabled.
Example
ç SET/MEDIA/UART/P1.Enabled=true
æ pw/MEDIA/UART/P1.Enabled=true
ç CALL/MEDIA/UART/P1:applySettings(1)
æ mO/MEDIA/UART/P1:applySettings
INFO:
The applySettings method will save and apply the new value and makes the extender reboot.
6.9.2. Setting the Baud Rate of the Port
Command and Response
SET•/MEDIA/UART/<port>.Baudrate=<Baud_value>
ç
pw•/MEDIA/UART/<port>.Baudrate=<Baud_value>
æ
Parameters
The <Baud_value>parametercanbesetto:300,600,1200,2400,4800,9600,19200,38400,57600,115200.
Example
ç SET/MEDIA/UART/P1.Baudrate=57600
æ pw/MEDIA/UART/P1.Baudrate=57600
ç CALL/MEDIA/UART/P1:applySettings(1)
æ mO/MEDIA/UART/P1:applySettings
INFO:
The applySettings method will save and apply the new value and makes the extender reboot.
VINX-1x0-HDMI Extenders – User's Manual
6.9.3. Setting the RS-232 Port Mode
The RS-232 port can be set to Pass-through or Command Injection mode. The introduction of these modes can
be found in the
Command and Response
SET•/MEDIA/UART/<port>.Guest=<port_mode>
ç
pw•/MEDIA/UART/<port>.Guest=<port_mode>
æ
Parameters
If the
Command injection mode; in that case, use the 6752TCP/IPportnumbertoaddresstheport.
Example
ç SET/MEDIA/UART/P1.Guest=false
æ pw/MEDIA/UART/P1.Guest=false
ç CALL/MEDIA/UART/P1:applySettings(1)
æ mO/MEDIA/UART/P1:applySettings
INFO:
6.9.4. Setting the Data Bits
Command and Response
SET•/MEDIA/UART/<port>.DataBits=<Databits_value>
ç
pw•/MEDIA/UART/<port>.DataBits=<Databits_value>
æ
Parameters
The
<Databits_value>
Example
ç SET/MEDIA/UART/P1.DataBits=8
æ pw/MEDIA/UART/P1.DataBits=8
ç CALL/MEDIA/UART/P1:applySettings(1)
æ mO/MEDIA/UART/P1:applySettings
INFO:
Appliedfirmwarepackage:v2.0.2b4 | LDCsoftware:v2.5.2b3
RS-232 Interface
section.
<port_mode>
parameter is 0 (or false) the mode is Pass-through. If the value is 1 (or true) the port is in
The applySettings method will save and apply the new value and makes the extender reboot.
parameter can be set to the following values: 6, 7, 8
The applySettings method will save and apply the new value and makes the extender reboot.
66
Need help?
Do you have a question about the VINX-120-HDMI-ENC and is the answer not in the manual?
Questions and answers