Skip to content

Commit a8b46af

Browse files
authored
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.
1 parent 1e17719 commit a8b46af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/wifi.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ function can be used.
445445
- `cfg` table to hold configuration:
446446
- `ssid` SSID chars 1-32
447447
- `pwd` password chars 8-64
448-
- `auth` authentication method, one of `wifi.OPEN`, `wifi.WPA_PSK`, `wifi.WPA2_PSK` (default), `wifi.WPA_WPA2_PSK`
448+
- `auth` authentication method, one of `wifi.AUTH_OPEN`, `wifi.AUTH_WPA_PSK`, `wifi.AUTH_WPA2_PSK` (default), `wifi.AUTH_WPA_WPA2_PSK`
449449
- `channel` channel number 1-14 default = 11
450450
- `hidden` false = not hidden, true = hidden, default = false
451451
- `max` maximum number of connections 1-4 default=4

0 commit comments

Comments
 (0)