connect-wifi-first

Added at V2.2

Use this interface to connect your device to a Wi-Fi network for the first time.

HTTP Request

GET http://ip/usapi?method=connect-wifi-first&name=magewell&passwd=1111111&secu=2&is-auto=1&is-hide=0
Parameter Description
method connect-wifi-first
name Indicates name of Wi-Fi network.
passwd Indicates password of Wi-Fi network.
secu Indicates encryption method of Wi-Fi network: 0 - unencrypted; 1 - wep; 2 - WPA/PSK; 3 - WPA2/PSK.
is-auto Indicates whether to auto-connect to the saved Wi-Fi network.
is-hide Indicates whether connecting to a hidden Wi-Fi network.

Response Body

{
  "result": 0
}
Item Description
result 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 ""

    results matching ""

      No results matching ""