/network/wifi-connect-state

Use the interface to check the status of WiFi connecting AP.

Request Mode

POST /api/network/wifi-connect-state
Parameter Description
iface The network card name

Response Body

{
    "ssid": "magewell",
    "state": 2,
    "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.
ssid The SSID of the connected AP
state The AP connection status
0: idle, not connected
1: connecting, please wait
2: connected
3: wrong password
4: connection failed
5: connection timed out

results matching ""

    No results matching ""