/network/wireless-mode

Use the interface to switch WiFi working mode.

Request Mode

POST /api/network/wireless-mode
Parameter Description
iface The network card name
mode The WiFi working mode
0: STA mode
1: AP mode

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.

results matching ""

    No results matching ""