Commit ed679a72 authored by Marcel Stör's avatar Marcel Stör
Browse files

Correct WiFi auth constants in docs, fixes #1360

parent f2d01957
...@@ -31,7 +31,7 @@ The current setting, true if manual mode is enabled, false if it is not. ...@@ -31,7 +31,7 @@ The current setting, true if manual mode is enabled, false if it is not.
#### Example #### Example
```lua ```lua
wifi.setmode(wifi.STATIONAP) wifi.setmode(wifi.STATIONAP)
wifi.ap.config({ssid="MyPersonalSSID",auth=wifi.AUTH_OPEN}) wifi.ap.config({ssid="MyPersonalSSID", auth=wifi.OPEN})
enduser_setup.manual(true) enduser_setup.manual(true)
enduser_setup.start( enduser_setup.start(
function() function()
......
...@@ -751,7 +751,7 @@ NOTE: SoftAP Configuration will be retained until changed even if device is turn ...@@ -751,7 +751,7 @@ NOTE: SoftAP Configuration will be retained until changed even if device is turn
#### Parameters #### Parameters
- `ssid` SSID chars 1-32 - `ssid` SSID chars 1-32
- `pwd` password chars 8-64 - `pwd` password chars 8-64
- `auth` authentication one of AUTH\_OPEN, AUTH\_WPA\_PSK, AUTH\_WPA2\_PSK, AUTH\_WPA\_WPA2\_PSK, default = AUTH\_OPEN - `auth` authentication method, one of `wifi.OPEN` (default), `wifi.WPA_PSK`, `wifi.WPA2_PSK`, `wifi.WPA_WPA2_PSK`
- `channel` channel number 1-14 default = 6 - `channel` channel number 1-14 default = 6
- `hidden` 0 = not hidden, 1 = hidden, default 0 - `hidden` 0 = not hidden, 1 = hidden, default 0
- `max` maximal number of connections 1-4 default=4 - `max` maximal number of connections 1-4 default=4
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment