Get Channel Bandwidth - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

Chapter 4
Configuring HTTP API
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"channelBandwidth" : "1"}' https://localhost/api/2.0/wifi/ap/channelBandwidth
Reply
{"success":"true","updatedAt":"2012-11-12 07:32:04"}
Parameter Restrictions
Valid parameters are 0 for channel width 20 MHz, and 1 for channel width 20/40 MHz. Otherwise, a 004
error is reported.

Get Channel Bandwidth

Example: get channel bandwidth
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/channelBandwidth
Reply
{"channelBandwidth":"1","success":"true","getAt":"2013-05-16 10:45:31"}
Set Guard Interval
Example: set guard interval to 1
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"guardInterval" : "1"}' https://localhost/api/2.0/wifi/ap/guardInterval
Reply
{"success":"true","updatedAt":"2012-11-12 06:34:20"}
Parameter Restrictions
Valid parameters are 0 for long guard interval (800 ns), and 1 for short guard interval (400 ns).
Otherwise, a 004 error is reported.
Get Guard Interval
Example: get guard interval
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/guardInterval
Reply
{"guardInterval":"1","success":"true","getAt":"2013-05-16 10:45:31"}
OL-29491-01
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
AP Information
4-21

Advertisement

Table of Contents
loading

Table of Contents