Application page cgi command – Vivotek IP7132 User Manual
Page 68

- 67 -
www.vivotek.com
serverip
(r/w)
Log server IP address
serverport
(r/w)
<514>
Server port used for log
Application page CGI command
Note: This request requires administrator privilege.
Method: GET/POST
Syntax:
http://<servername>/cgi-bin/admin/gen-eventd-conf.cgi?[ snapshot_enable=
[&weekday=
[&end_time=
[&ss_prefix=
[&md_prenum=
[&sq_interval=
[&send_method=
Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length:
\r\n
If(method == get || method == set)
{
tue=
wed=
…
}
- 57 -
www.vivotek.com
NAME
VALUE
DESCRIPTION
enable
(r/w)
0, 1
Enable or disable the UPNP presentation
service.
<1>
Group: UPNPfor
NAME
VALUE
DESCRIPTION
enable
(r/w)
0, 1
Enable or disable the UPNP port forwarding
service.
<0>
Group: App
NAME
VALUE
DESCRIPTION
scriptname
(r)
File name of script
0
Disable script
enablescript
(r/w)
1
Enable script
Group: Syslog
NAME
VALUE
DESCRIPTION
0
disable remote log
enableremotelog
(r/w)
1
enable remote log
serverip
(r/w)
Log server IP address
serverport
(r/w)
<514>
Server port used for log
Application page CGI command
Note: This request requires administrator privilege.
Method: GET/POST
- 58 -
www.vivotek.com
Syntax (For snapshot):
http://<servername>/cgi-bin/admin/gen-new-eventd-conf.cgi
?
[
snapshot_enable=
[&
weekday=
[&
time_method=
[&
begin_time=
[&
end_time=
[&
prefix=
[&
trigger_type=
[&
md_win=
[&
md_prenum=
[&
md_postnum=
[&
md_delay=
[&
sq_interval=
[&
send_method= [& ftp_suffix= Syntax (For videoclip): http://<servername>/cgi-bin/admin/gen-new-eventd-conf.cgi ? [ videoclip_enable= [& weekday= [& time_method= [& begin_time= [& end_time= [& prefix= [& trigger_type= [& maxsize= [& md_win= [& md_delay= [& sq_interval= [& send_method= [& ftp_suffix= - 58 - www.vivotek.com Syntax (For snapshot): http://<servername>/cgi-bin/admin/gen-new-eventd-conf.cgi ? [ snapshot_enable= [& weekday= [& time_method= [& begin_time= [& end_time= [& prefix= [& trigger_type= [& md_win= [& md_prenum= [& md_postnum= [& md_delay= [& sq_interval= [& send_method= [& ftp_suffix= Syntax (For videoclip): http://<servername>/cgi-bin/admin/gen-new-eventd-conf.cgi ? [ videoclip_enable= [& weekday= [& time_method= [& begin_time= [& end_time= [& prefix= [& trigger_type= [& maxsize= [& md_win= [& md_delay= [& sq_interval= [& send_method= [& ftp_suffix= - 59 - www.vivotek.com Return: tue= } parameter Value description prefix_app_index sn1, sn2, vc Index of application 0 Enable snapshot application snapshot_enable 1 Disable snapshot application 0 Disable videoclip application videoclip_enable 1 Enable videoclip application weekday 0,1,2,3,4,5,6 The array indicate weekly schedule always 24 hours full day time_method interval Select begin time and end time begin_time hh:mm Begin time of weekly schedule end_time hh:mm End time of weekly schedule prefix Snapshot/Videoclip file name prefix for both - User's Manual VIVOTEK - A Leading Provider of Multimedia Communication Solutions
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length:
\r\n
If(method == get || method == set)
{
wed=
…
Else if(method == normal)
{
Application page contents
}
characters>
event and sequential operation