TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)

2.4Easy Preset Assignment

wbpresetapi.cgi

2.4.1Syntax

1)http://<camip>/api/wbpresetapi.cgi?cont 4=<PresetID>&savesysvar

2)http://<camip>/api/wbpresetapi.cgi?cont 4=<PresetID>&<presetnameID>=<value>&savesysvar

2.4.2Input

Item

 

Entry name

Entry value

Std.val

Unit

Preset ID for registration

cont_4

 

<presetID>

-

-

Preset name for registration

<presetnameID>

 

any (max. 12 bytes)

-

-

Save this preset information

savesysvar

 

-

-

-

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.3Output

Code

Status

20

OK

30InvalidType

31InvalidEntry

Code

Status

32InvalidValue

33InvalidOperand

34NoEntryData

Code

Status

92

CriticalError

2.4.4Example

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.5Note

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’.

©TOSHIBA Corp.

35

Page 40
Image 40
Toshiba Toshiba manual Wbpresetapi.cgi, PresetnameID