User's Manual

106
Examples:
A. The padding contains motion detection data only.
Length Command Length On/Off Indicator Threshold
Window -
On/Off
End
0x00 0x00 0x00 0x15 0x01 0x0D 0
(OFF)
20 30 129 0 128 128 128 128 1 1 1 0 0xBF 0x00
0x15 = 21 (total length = 21 bytes)
B. The padding contains both motion detection and input ports data.
Length Comman
d
Lengt
h
On Indicator Threshold
On/Of
f
Comman
d
Length In-
1
In
-2
End
0x00 0x0
0
0x0
0
0x1
9
0x01 0x0D 1 0 3 2 0 128 128 128 128 0 1 1 0 0x02 0x02 0 0 0xB
F
0x0
0
0x19 = 25 (total length = 25 bytes)
C. The padding contains some long commands. (Ex. Command 0xC1 needs length 500
data)
Length Command Length Total = 500 bytes
End
0x00 0x00 0x01 0xFD 0xC1 0x01 0xF4 Data… Data Data …. …. 0xBF 0x00
0x1FD = 509 (total length = 509 bytes)
0x01F4 = 500 (length of command 0xC1 = 500 bytes)
Wireless Commands
Wireless Site Survey
Method: GET
URL:
http://<ip>/adm/site_survey.cgi
Return:
The result to wireless site survey will be returned after a timeout, the timeout in
camera is around 10 seconds, and the maximal number of sites is 30, so the maximal
length of data is up to around 16Kbytes.
Successful request returns the result of wireless site survey as below, case sensitive.
HTTP/1.0 200 OK\r\n
Content-type: text/xml\r\n
...
\r\n
<?xml version="1.0" encoding="utf-8"?>\r\n
<SiteList>\r\n
<Site>\r\n
<SSID>SerComm</SSID>\r\n
<BSSID>00:C0:02:FF:C2:B3</BSSID>\r\n