API ALPHA
Switch on or shut down the device Access Point.
Available in 7.0.2 or later
Input Parameters
Type | Notation | Mandatory | Description | |
enable | Boolean | <boolean> | required | True to Switch on the device Access Point; otherwise to turn off the Access Point. |
Return Parameters
Return JSON
Type | Notation | Description | |
support | Boolean | <boolean> | Indicates the support of Access Point. Products without Access Point will return false, and provides no further information. |
enable | Boolean | <boolean> | Indicates if Access point is currently turned on |
wanDependent | Boolean | <boolean> | [Experimental] Returns true when the engineering setting “Turn off AP when there is n Internet connectivity” is currently enabled. (This value is not officially supported and is subject to change in future). |
cURL Example
curl -b cookies.txt-H "Content-Type: application/json" -X POST -d '{"enable":true}' http://192.168.1.1/api/cmd.ap
{ "stat": "ok" "response": { "support": true, "enable": true, "wanDependent": true } }