/network/wireless-state
Use the interface to check the working status of the AP.
Request Mode
POST /api/network/wireless-state
Parameter | Description |
---|---|
iface | The network card name |
Response Body
{
"enable": true,
"mode": 1,
"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. |
mode | The WiFi working mode 0: STA mode 1: AP mode |
enable | Whether the network card service is enabled |