SERIAL_SETTING
Description
Get or Set the serial port configuration.
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
n,m
where
n is the serial data configuration. It could be8N1: 8 Data bits, No parity check, 1 Stop bitm is the baud rate. It could be 2400, 4800, 9600, 19200, 38400, 57600, 115200
8O1: 8 Data bits, Odd parity check, 1 Stop bit
8E1: 8 Data bits, Even parity check, 1 Stop bit
Attribute
Return of Message
SERIAL_SETTING='8N1,9600'
OK: SERIAL_SETTING='8N1,9600'
or
ERROR: SERIAL_SETTING='8N1,9600'
Applicability
Status
Valid
See Also
Example
http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&SERIAL_SETTING
http://ip:port/cgi-bin/url.cgi?USER=Admin&PWD=123456&SERIAL_SETTING=8N1,9600
Back to