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 by the Video Server through the Ethernet at remote site.

Note that, there is no any hardware and software flow control mechanism implemented in this serial port. Therefore, the serial data might be lost if the data rate between the serial port device (like analog PTZ camera) and encoder or the remote host and encoder does not match or the serial data very bursts into the encoder.

If the CHANNEL=n was not set with this URL to the Multi-Channel device, the error message will be returned.

Input Argument

Character String (length in even)

Attribute

Return of Message

OK

Applicability

Status

Valid

See Also

SERIAL_SETTING, SERIAL_ASCII

Example

http://ip:port/cgi-bin/mpeg4?USER=Admin&PWD=123456&SERIAL_HEX=313233
or
http://ip:port/cgi-bin/cmd/mpeg4?SERIAL_HEX=313233

Back to

HOME, MPEG4 CGI