Toshiba Toshiba Manual Do Utilizador
TOSHIBA Network Camera - IK-WB15A - SDK (Ver 1.00.SC)
©TOSHIBA Corp.
42
3.2
Bandwidth Control Settings
wbsetnwkbandwidth.cgi
3.2.1 Syntax
1) http://<camip>/api/wbsetnwkbandwidth.cgi?type=Default
2) http://<camip>/api/wbsetnwkbandwidth.cgi?type=Set[&Mode=<value>][&Numeric=<value>][&BandWidth=<value>]
2) http://<camip>/api/wbsetnwkbandwidth.cgi?type=Set[&Mode=<value>][&Numeric=<value>][&BandWidth=<value>]
3.2.2 Input
Item
Type
Entry name
Entry value
Std.val
Unit
Reset to Default
type=Default
-
-
-
-
Function Mode
1:OFF
2:ON 1
-
Band numeric
Numeric
any (0<n<=102400)
100 -
Band unit
type=Set
BandWidth 1:Kbit/S
2:Mbit/S 2
-
Log output control of cgi common to all types
OpeLog
No/Yes [default: Yes] (omissible)
-
-
3.2.3 Output
Code
Status
Code
Status
Code
Status
20 OK
32 InvalidValue
92 CriticalError
30 InvalidType
33
InvalidOperand
31 InvalidEntry 34
NoEntryData
3.2.4 Example
1) http://10.1.0.1/api/wbsetnwkbandwidth.cgi?type=Default
2) http://10.1.0.1/api/wbsetnwkbandwidth.cgi?type=Set&Mode=2&Numeric=256&BandWidth=1
2) http://10.1.0.1/api/wbsetnwkbandwidth.cgi?type=Set&Mode=2&Numeric=256&BandWidth=1
3.2.5 Notes
1) If only type=<value> is entered and then <entry>=<value> is not entered, no setting is performed. (type=Default is an exception.)
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.
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.