diff --git a/docs/en/modules/enduser-setup.md b/docs/en/modules/enduser-setup.md index 5d47b41e..704d1dfc 100644 --- a/docs/en/modules/enduser-setup.md +++ b/docs/en/modules/enduser-setup.md @@ -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() diff --git a/docs/en/modules/wifi.md b/docs/en/modules/wifi.md index e036c308..da402267 100644 --- a/docs/en/modules/wifi.md +++ b/docs/en/modules/wifi.md @@ -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