Toshiba Toshiba Manuel D’Utilisation
TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)
©TOSHIBA Corp.
32
2.2 Preset
Settings
wbsetptpreset.cgi
2.2.1 Syntax
1) http://<camip>/api/wbsetptpreset.cgi?type=Default
2) http://<camip>/api/wbsetptpreset.cgi?type=PresetNumber-1[&PresetName=<value>][&PanPostion=<value>][&…]
………
3) http://<camip>/api/wbsetptpreset.cgi?type=PresetNumber-64[&PresetName=<value>][&PanPostion=<value>][&…]
2) http://<camip>/api/wbsetptpreset.cgi?type=PresetNumber-1[&PresetName=<value>][&PanPostion=<value>][&…]
………
3) http://<camip>/api/wbsetptpreset.cgi?type=PresetNumber-64[&PresetName=<value>][&PanPostion=<value>][&…]
2.2.2 Input
Item
Type
Entry name
Entry value
Std.val
Unit
Reset to Default
type=Default
-
-
-
-
Preset name
PresetName
any (max.12 bytes)
-
Pan position
PanPosition
0 - 2640/32767
32767
degree
Tilt position
TiltPosition
0 - 1200/32767
32767
degree
Zoom position
type=PresetNumber-1
ZoomPosition
0 - 5
-
………
Preset name
PresetName
any (max.12 bytes)
-
Pan position
PanPosition
0 - 2640/32767
32767
degree
Tilt position
TiltPosition
0 - 1200/32767
32767
degree
Zoom position
type=PresetNumber-64
ZoomPosition
0 - 5
-
Log output control of cgi common to all types
OpeLog
No/Yes [default: Yes] (omissible)
-
-
2.2.3 Output
Code
Status
Code
Status
Code
Status
20 OK
32
InvalidValue
92
CriticalError
30 InvalidType
33
InvalidOperand
31 InvalidEntry 34
NoEntryData
2.2.4 Example
1) http://10.1.0.1/api/wbsetptpreset.cgi?type=Default
2) http://10.1.0.1/api/wbsetptpreset.cgi?type=PresetNumber-1&PresetName=One%20Ein
2) http://10.1.0.1/api/wbsetptpreset.cgi?type=PresetNumber-1&PresetName=One%20Ein
2.2.5 Note
1)
If only type=Set is entered and then <entry>=<value> is not entered, no setting is performed. (type=Default is an exception.)