Correct wifi auth types for esp32 (#3047)

Correcting the AP config auth types.  The ones defined in the current documentation don't seem to exist.
This commit is contained in:
Kit Klein 2020-02-26 06:30:22 -05:00 committed by GitHub
parent 1e177194b0
commit a8b46af905
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -445,7 +445,7 @@ function can be used.
- `cfg` table to hold configuration:
- `ssid` SSID chars 1-32
- `pwd` password chars 8-64
- `auth` authentication method, one of `wifi.OPEN`, `wifi.WPA_PSK`, `wifi.WPA2_PSK` (default), `wifi.WPA_WPA2_PSK`
- `auth` authentication method, one of `wifi.AUTH_OPEN`, `wifi.AUTH_WPA_PSK`, `wifi.AUTH_WPA2_PSK` (default), `wifi.AUTH_WPA_WPA2_PSK`
- `channel` channel number 1-14 default = 11
- `hidden` false = not hidden, true = hidden, default = false
- `max` maximum number of connections 1-4 default=4