SERIAL_HEX

Description

Send the string in HEX to serial port. The length of the parameter must be even, For example, SERIAL_HEX=31323334 to send the 0x30,0x31,0x33,0x34 (4 bytes only) to the serial port

There is a serial port on the device for the RS232/RS485/RS422 port. The external device could be accessed or controlled through this port. For example, when the RS485 port in Analog PTZ camera connects to the Video Server's serial port, user could control this Analog PTZ camera through the Video Sever by Joystick connected to Decoder's RS232/RS485/RS422 port.

Note that, there is no any hardware and software flow control mechanism implemented in this serial port. For example, the RS485 port in Joystick connects to the Decoder's serial port.

Input Argument

Character String (length in even)

Attribute

Return of Message

SERIAL_HEX='xxx'
where xxx is the echo string of the input argument. For example, the SERIAL_ASCII='31323334' is the return message of SERIAL_ASCII=31323334.

Applicability

Status

Valid

See Also

SERIAL_SETTING, SERIAL_ASCII

Example

http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&SERIAL_HEX=313233

Back to

HOME, URL CGI