Correct WiFi auth constants in docs, fixes #1360
This commit is contained in:
parent
f2d0195732
commit
ed679a7263
|
@ -31,7 +31,7 @@ The current setting, true if manual mode is enabled, false if it is not.
|
|||
#### Example
|
||||
```lua
|
||||
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.start(
|
||||
function()
|
||||
|
|
|
@ -751,7 +751,7 @@ NOTE: SoftAP Configuration will be retained until changed even if device is turn
|
|||
#### Parameters
|
||||
- `ssid` SSID chars 1-32
|
||||
- `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
|
||||
- `hidden` 0 = not hidden, 1 = hidden, default 0
|
||||
- `max` maximal number of connections 1-4 default=4
|
||||
|
|
Loading…
Reference in New Issue