Send the string in ASCII to serial port. For example, SERIAL_ASCII=1234 to send the 0x30,0x31,0x32,0x33 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 encoder's serial port, user could control this Analog PTZ camera by the video encoder 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.
No error message will be returned if there is no serial port in the device.If the CHANNEL=n was not set with this URL to the multiple channel encoder, the error message will be returned.
Important Note :
Because we allowed user level account to request for control token in control message session, the user level account could control serial port then. That applies to this URL access authority. So, user level account could use this URL to access serial port.
Character Strings
OK
or
ERROR: invalid parameters
Valid
http://ip:port/cgi-bin/cgi?USER=Admin&PWD=123456&SERIAL_ASCII=abcd
or
http://ip:port/cgi-bin/cmd/cgi?SERIAL_ASCII=abcd
where
cgi could be mpeg4 or encoder