/network/ap-config
Use the interface to set AP.
Request Mode
POST /api/network/ap-config
Parameter | Description |
---|---|
iface | The network card name |
ssid | The AP name |
hw_mode | The working frequency of WiFi a: 5GHz g: 2.4GHz |
channel | The default AP channel |
country-code | Refer to ISO/IEC 3166-1 |
ipaddr | The IP address |
dhcp-ip-start | The starting IP address allocated by DHCP |
dhcp-ip-end | The ending IP address allocated by DHCP |
enable-surfing | Enable surfing |
Response Body
{
"status": 0
}
Name | Description |
---|---|
status | 0 indicates that the request was accepted successfully. Refer to API Status Codes to find specific description for other values. |