w w w . s m a x . c o m . t w
Chapter 6.
6.1. URL
6.1.1. System
6.1.1.1. Get Device information
Syntax:
---------------------------------------------------------------------------
http://camera_ip:port/cgi/admin/serverreport.cgi
---------------------------------------------------------------------------
Example:
http://192.168.1.99/cgi/admin/serverreport.cgi
Return:
P 67
OK
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <content length>\r\n
\r\ns
Server Name:XXXXX
IP Address:XXXXXX
MAC Address: XXXXXX
Model Number:XXXXXX
Product Number:XXXXX
H/W Version:XXXXXX
OK
F/W Version:XXXXXX
PT Support:Yes
IO Trigger Support:Yes
......\r\n
FAIL
HTTP/1.1 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: <content length>\r\n
\r\n
Request failed: <error message>\r\n
6.1.1.2. Add, modify and delete users
Syntax:
---------------------------------------------------------------------------
http:// camera_ip:port /cgi/admin
/pwdgrp.cgi?<parameter>=<value>
[&<parameter>=<value>...]
---------------------------------------------------------------------------
with the following parameters and values for
reference:
<parameter>=<value>
Value
Description
action=<string>
add,
update,
remove ,
get
add = create a new user
account.
update = change the
information of specified
parameters if the account
exists.