beautypg.com

D-Link DVS-301 User Manual

Page 76

background image

Building Networks for People

DVS-301 User Manual v1.00

70

Clear data mode serial port driver

This URL applies to the attached serial port device including supported PTZ cameras or

non-supported custom cameras. Note the serial port settings of custom cameras must be

correctly defined in advance.

Send command to device attached to COM

/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 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.

Restore factory default settings

/setup/restore.cgi

Video Server will automatically restart after restoring factory default configurations.

Restart system

/setup/reset.cgi

Restart Video Server without warning.