Set Tx Power - Cisco 340 Series Configuration Manual

Table of Contents

Advertisement

AP Information

Set TX Power

Example: set TX power to 1
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d '{"txPower"
: "1"}' https://localhost/api/2.0/wifi/ap/txPower
Reply
{"success":"true","updatedAt":"2013-05-22 08:08:05"}
Parameter Restrictions
The parameter must be an interger from 1 to 100.
Get TX Preamble
Example: get TX preamble
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/txPreamble
Reply
{"txPreamble":"0","success":"true","getAt":"2013-05-22 08:06:44"}
Set TX Preamble
Example: set TX preamble to 1
Request
curl -k -X PUT -H 'password: cisco123!' -H 'Content-Type: application/json' -d
'{"txPreamble" : "1"}' https://localhost/api/2.0/wifi/ap/txPreamble
Reply
{"success":"true","updatedAt":"2013-05-22 08:08:05"}
Parameter Restrictions
The parameter must be an interger from 0 to 2.
Get Short Slot
Example: get short slot
Request
curl -k -X GET -H 'password: cisco123!' https://localhost/api/2.0/wifi/ap/shortSlot
Reply
{"shortSlot":"1","success":"true","getAt":"2013-05-22 08:06:44"}
Cisco Edge 340 Series Software Configuration Guide, Release 1.0
4-32
Chapter 4
Configuring HTTP API
OL-29491-01

Advertisement

Table of Contents
loading

Table of Contents