Camaras De Vigilancia Ip
vegaa.felixa22 de Mayo de 2012
2.815 Palabras (12 Páginas)562 Visitas
IP Camera CGI Manual
Catalog
ip camera cgi profile ..................................................................................................................3
check_user.cgi...............................................................................................................................4
snapshot.cgi ......................................................................................................................................4
videostream.cgi...............................................................................................................................5
videostream.asf ...............................................................................................................................5
get_status.cgi.....................................................................................................................................6
get_camera_params.cgi.....................................................................................................................7
decoder_control.cgi...........................................................................................................................8
camera_control.cgi............................................................................................................................9
reboot.cgi ........................................................................................................................................10
get_params.cgi ................................................................................................................................10
upgrade_firmware.cgi .....................................................................................................................13
upgrade_htmls.cgi...........................................................................................................................13
set_alias.cgi.....................................................................................................................................13
set_datetime.cgi ..............................................................................................................................14
set_users.cgi ....................................................................................................................................14
set_devices.cgi ................................................................................................................................14
set_network.cgi ...............................................................................................................................15
set_wifi.cgi......................................................................................................................................15
set_pppoe.cgi ..................................................................................................................................16
set_upnp.cgi ....................................................................................................................................16
set_ddns.cgi.....................................................................................................................................17
set_ftp.cgi........................................................................................................................................17
set_mail.cgi .....................................................................................................................................18
set_alarm.cgi ...................................................................................................................................18
comm_write.cgi ..............................................................................................................................20
set_forbidden.cgi.............................................................................................................................20
get_forbidden.cgi ............................................................................................................................21
set_misc.cgi.....................................................................................................................................21
get_misc.cgi ....................................................................................................................................22
set_decoder.cgi................................................................................................................................22
wifi_scan.cgi ...................................................................................................................................22
get_wifi_scan_result.cgi .................................................................................................................23
get_log.cgi.......................................................................................................................................24
test_mail.cgi ....................................................................................................................................24
test_ftp.cgi.......................................................................................................................................24
backup_params.cgi..........................................................................................................................25
restore_params.cgi ..........................................................................................................................25
set_mac.cgi......................................................................................................................................25
set_factory_ddns.cgi .......................................................................................................................26
Ip camera cgi profile
This article lists cgi is a set which ip camera provides based on the http agreement
connection, the client side procedure (may be homepage which or other application
procedure on the web browser moves) may carry on each kind of operation through cgi to
the equipment.
cgi safe authentication: The following arranges in order cgi, visit to its when is needs
to authenticate safely. Moreover the different cgi connection needs the jurisdiction is not
same, is always divided third-level: Visitor, operator and superintendent. But the
jurisdiction is the user who establishes by the equipment on decided. The concrete safe
authentication mechanism supports two ways: in the http agreement stipulated Basic safe
authentication mechanism, in the cgi parameter direct additional user name and
password.
Visits cgi the method: In all http method, cgi which this article arranges in order only
supports get and post. And upgrade_firmware.cgi and upgrade_htmls.cgi only support the
post method, but other cgi only supports the get method.
Get example
<form action=”/set_mail.cgi”>
<input name=”svr”>
<input name=”user”>
<input name=”pwd”>
<input name=”sender”>
<input name=”receiver1”>
<input name=”receiver2”>
<input name=”receiver3”>
<input name=”receiver4”>
<input type=hidden name=”next_url” value=”index.htm”>
<input type=submit value=”ok”>
</form>
Post example
<form
action=”upgrade_firmware.cgi?next_url=index.htm”
enctype=”multipart/form-data”>
method=”post”
<input type=”file” name=”file” size=”20”>
</form>
cgi returns: According to return information's difference, cgi which this article
arranges in order may divide into two kinds:
Gain device status and parameter cgi, including get_status.cgi and get_params.cgi. They
return including the device status or the parameter text, in the concrete form similar
javascript variable definition, is a variable and returns each condition or the parameter
definition, for example,
var
var
var
var
var
var
var
var
id=’003456789A0A’;
sys_ver=’0.0.1.2’;
app_ver=’0.0.1.3’;
alias=”;
now=1195552193;
tz=0;
ntp_enable=1;
ntp_svr=’time.nist.gov’;
The establishment plant parameter or carries on the operation cgi. This kind of cgi will
return contains the operating result the text information, if will succeed returns to “ok”;
If is defeated returns to the concrete error message, for instance: “error: illegal param”
expressed cgi supplements the parameter contains errors. Moreover like operates
successfully does not hope the simple returns “ok” the text, but is a document, then may,
in requested in the cgi parameter string increases a parameter: next_url. An under
document which after this parameter is the correspondence operates successfully, skips,
the attention must be the relative way.
check_user.cgi
Description: Gain current user verification result
Permission: Visitor
Grammar: /check_user.cgi [? user=&pwd=]
Returns:
user: Current user
...