Download IP Camera CGI User Manual

Transcript
Shenzhen Dericam Technology Co.,Limited
Return Value
www.dericam.net
Success: contain Success
Failure: contain Error
Note
None
Example
/cgi-bin/hi3510/param.cgi?cmd=setrelayattr&-time=10
getschedule
param.cgi?cmd=
param.cgi?cmd=g
Function
To get alarm and arming schedule table
Authority
admin
Syntax
/cgi-bin/hi3510/param.cgi[?cmd=getschedule&-type=&-ename=]
parameters
type
Arming type:
event
ename
Alarm type:
md:
Return Value
etm
motion dection
Arming time mode:
0: All week mode
1: working days rest days mode
2: All time mode
workday
Arming time period of working days,using in
working days rest days mode.
weekend
Arming time period of rest days,using in working
days rest days mode.
week
Every day arming time period in All week mode
md_interval
Arm time interval
Attention: There are more groups of alarm schedule table in return value.
For example:
var etm="0";
var workday = "0~95," ;
var weekend="0~95," ;
var week= new Array() ;
week[0] = "0~95,";
week[1] = "0~95,";
week[2] = "0~95,";
week[3] = "0~95,";
week[4] = "0~95,";
week[5] = "0~95,";
week[6] = "0~95,";
33