beautypg.com

Application page cgi command – Vivotek IP7132 User Manual

Page 68

background image

- 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=][&time_method=][&begin_time=]
[&end_time=]
[&ss_prefix=][&trigger_type=]
[&md_prenum=][&md_postnum=][&md_delay=]
[&sq_interval=]
[&send_method=]

Return:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: \r\n
\r\n

If(method == get || method == set)
{

tue=\r\n
wed=\r\n

}

- 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)

255 characters>

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:
HTTP/1.0 200 OK\r\n
Content-Type: text/plain\r\n
Content-Length: \r\n
\r\n

If(method == get || method == set)
{

tue=\r\n
wed=\r\n

}
Else if(method == normal)
{
Application page contents
}

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

shorter than 60
characters>

Snapshot/Videoclip file name prefix for both
event and sequential operation

- User's Manual

VIVOTEK - A Leading Provider of Multimedia Communication Solutions