Toshiba Toshiba Security Camera User Manual


 
TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)
©TOSHIBA Corp.
35
2.4 Easy Preset Assignment
wbpresetapi.cgi
2.4.1 Syntax
1) http://<camip>/api/wbpresetapi.cgi?cont 4=<PresetID>&savesysvar
2) http://<camip>/api/wbpresetapi.cgi?cont 4=<PresetID>&<presetnameID>=<value>&savesysvar
2.4.2 Input
Item Entr
y
name Entr
y
value Std.val Uni
t
Preset ID for registration cont_4 <presetID> --
Preset name for registration <presetnameID> any (max. 12 bytes) - -
Save this preset information savesysva
r
- - -
Log output control of cgi common to all types OpeLog No/Yes [default: Yes] (omissible) - -
<presetID> is determined by the following method:
<presetID> = 512 + <presetNumber>
For example, to assign Preset Number 1, the parameter would be ‘cont_4=513’
Next, the indication of the <presetnameID> is shown.
presetname_n, where n is the Preset Number (n :1-64)
For example, to name Preset Number 2, type ‘presetname_2=name’.
2.4.3 Output
Code Status Code Status Code Status
20 OK 32 InvalidValue 92 CriticalErro
r
30 InvalidType 33 InvalidOperand
31 InvalidEntr
y
34 NoEntryData
2.4.4 Example
1) http://10.1.0.1/api/wbpresetapi.cgi?cont 4=513&savesysvar
2) http://10.1.0.1/api/wbpresetapi.cgi?cont 4=513&presetname_1=Garage%20A&savesysvar
2.4.5 Note
1) This API defines the location where the IK-WB15A is currently facing as preset position.
2) If given such as ‘http://10.1.0.1/api/wbpresetapi.cgi?cont_4=514&presetname_9=Garage%20A&savesysvar’, current position is set to
preset #2, and preset #9 is named ‘Garage A’.