beautypg.com

0 control commands (rs232 and ip) – Hall Research UHBX-8X User Manual

Page 12

background image

8-Port HDMI Extender with Power, IR, and RS-232

12

5.0 Control Commands (RS232 and IP)

The extender can be controlled using simple ASCII commands either through

the RS232 or the Ethernet (IP) ports using Telnet protocol.

Use a DB9 Male-to-Female cable shipped with the extender to connect it to the

computer or external control device. If using a PC open a serial terminal

program (HyperTerminal, Realterm, TeraTerm, Putty, etc) with the following

settings:

19200 Baud, 8 bits, No Parity, 1 Stop-bit, and No flow control.

All serial commands received will be followed by a response. Baud Rate and

Parity setting commands (XBn and XPn) are global and affect all the outputs.

Command: XC,n Stands for Serial Connect

Connect serial interface (UART) to an output (n). If n is not specified, then it

reports which output the controller is connected to.n is in the range of 1 to 8

Response: XC,n

This indicates that the command completed successfully

Command: XT Stands for Serial Transmit

This command should be followed by a string of characters (or bytes) to be

sent. All byte received after this command end up in a FIFO and will be sent

out after receiving a special two byte end of data designator (referred to as

terminal characters). Therefore The UHBX-8X does not distinguish between

ASCII or Hex data, all data are treated as bytes The user has 1-5 seconds to

enter any data or characters, or a timeout will occur. The maximum number

of bytes being sent out can’t exceed 160.

The terminal characters indicating the end of string are 0x17 followed by

0x0D. If everything is in ASCII and you are entering the string from a PC

keyboard you can send 0x17 0x0D, by pressing Ctrl+w (will send 0x17)

followed by Enter (will send 0x0D). If more than 160 bytes need to be sent,

then multiple commands will be needed.

Response: OK

It is recommended that the customer wait for the OK response prior to

issuing further commands. Neglecting to do so runs the risk of corrupting the

internal buffers.

Example of XT Command

From a PC Keyboard

Type: XT [enter]

Type: Hello World [Ctrl+w] [enter]

This will send out “Hello World”

This manual is related to the following products: