Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
ed679a72
Commit
ed679a72
authored
Jun 21, 2016
by
Marcel Stör
Browse files
Correct WiFi auth constants in docs, fixes #1360
parent
f2d01957
Changes
2
Hide whitespace changes
Inline
Side-by-side
docs/en/modules/enduser-setup.md
View file @
ed679a72
...
@@ -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
()
...
...
docs/en/modules/wifi.md
View file @
ed679a72
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment