VPort 2310 User’s Manual

Advanced Applications

Sending commands to devices attached to the COM port

This URL applies to the attached serial port device including supported PTZ cameras or non-supported custom camera. Note that the serial port settings of custom cameras must be correctly defined in advance.

/cgi-bin/senddata.cgi?data=123456, ABCDEF&flush=yes&wait=1000&read=6

This hyperlink will inform Video Server to send out binary format commands to the COM with “0x12, 0x34, 0x56” followed by “0xAB, 0xCD, 0xEF”. Each comma separates the commands by 200 milliseconds. “Flush=yes” means the receive data buffer of the COM port must be cleared before read. Then read 6 bytes after waiting for 1000 milliseconds. The read data can be up to 128 bytes and will return as ASCII coded hexadecimal value, e.g., 0x41, 0x42, 0x43 read from COM port will show in returned homepage as 414243 instead of ABC.

URL Commands for System Maintenance

Download System Log via FTP

Besides viewing the system log from the web page, administrators can download the system log file, SYSTEM.LOG, via FTP. To log into the FTP daemon, enter “root” as the user name and the same administrator’s password used in Web access.

Restart System via URL

/setup/reset.cgi

Restart Video Server without warning.

Restore Factory Default Settings via URL

/setup/restore.cgi

Video Server will automatically restart after restoring factory default configurations.

5-5

Page 59
Image 59
Moxa Technologies 2310 URL Commands for System Maintenance, Sending commands to devices attached to the COM port