Toshiba Toshiba Security Camera User Manual


 
TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)
©TOSHIBA Corp.
52
5.3 NTP Settings
wbsetadminTaD.cgi
5.3.1 Syntax
1) http://<camip>/api/wbsetadminTaD.cgi?type=Default
2) http://<camip>/api/wbsetadminTaD.cgi?type=TimeZone[&Location=<value>]
3) http://<camip>/api/wbsetadminTaD.cgi?type=NTP[&Mode=<value>][&Server=<value>][&AdjustingCycle=<value>]
4) http://<camip>/api/wbsetadminTaD.cgi?type=DaylightSaving[&Mode=<value>]
5.3.2 Input
Item Type Entry name Entry value Std.val Unit
Reset to Default type=Default - - - -
Time zone type=TimeZone Location -12 - +12 -7 hour
Using NTP Mode 1:OFF 2:ON 1 -
NTP Server name Server any (max.64 bytes) -
Adjusting Cycle
type=NTP
AdjustingCycle 1:On camera boot and 24-hour priod
2:On camera boot and 12-hour priod
3:On camera boot and 6-hour priod
4:On camera boot and 1-hour priod
1 -
Daylight Saving type=DaylightSaving Mode 1:OFF 2:ON 1 -
Log output control of cgi common to all types OpeLog No/Yes [default: Yes] (omissible) - -
5.3.3 Output
Code Status Code Status Code Status
20 OK
32 InvalidValue
92 CriticalError
30 InvalidType
33 InvalidOperand
31 InvalidEntry
34 NoEntryData
5.3.4 Example
1) http://10.1.0.1/api/wbsetadminTaD.cgi?type=Default
2) http://10.1.0.1/api/wbsetadminTaD.cgi?type=TimeZone&Location=-8
3) http://10.1.0.1/api/wbsetadminTaD.cgi?type=NTP&Mode=2&Server=ntp.hoge.com&AdjustingCycle=2
4) http://10.1.0.1/api/wbsetadminTaD.cgi?type=DaylightSaving&Mode=2
5.3.5 Notes
1) If only type=NTP is entered and then <entry>=<value> is not entered, no setting is performed.
2) Multiple type=<value> cannot be enumerated simultaneously. This API must be started for each type.
3) For only entered items, setting is performed. For the other items, their existing values are held.
4) When OpeLog=No is entered, a log related to API start/end is not output. When it is omitted, it is regarded as OpeLog=Yes.