Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
micropython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
micropython
Commits
769e822f
Commit
769e822f
authored
Dec 11, 2020
by
IhorNehrutsa
Committed by
Damien George
Jan 23, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
esp32/modnetwork: Synchronize WiFi AUTH_xxx constants with IDF values.
parent
063d7cc0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
ports/esp32/modnetwork.c
ports/esp32/modnetwork.c
+5
-0
No files found.
ports/esp32/modnetwork.c
View file @
769e822f
...
...
@@ -772,6 +772,11 @@ STATIC const mp_rom_map_elem_t mp_module_network_globals_table[] = {
{
MP_ROM_QSTR
(
MP_QSTR_AUTH_WPA_PSK
),
MP_ROM_INT
(
WIFI_AUTH_WPA_PSK
)
},
{
MP_ROM_QSTR
(
MP_QSTR_AUTH_WPA2_PSK
),
MP_ROM_INT
(
WIFI_AUTH_WPA2_PSK
)
},
{
MP_ROM_QSTR
(
MP_QSTR_AUTH_WPA_WPA2_PSK
),
MP_ROM_INT
(
WIFI_AUTH_WPA_WPA2_PSK
)
},
{
MP_ROM_QSTR
(
MP_QSTR_AUTH_WPA2_ENTERPRISE
),
MP_ROM_INT
(
WIFI_AUTH_WPA2_ENTERPRISE
)
},
#if 0 // TODO: Remove this #if/#endif when lastest ISP IDF will be used
{ MP_ROM_QSTR(MP_QSTR_AUTH_WPA3_PSK), MP_ROM_INT(WIFI_AUTH_WPA3_PSK) },
{ MP_ROM_QSTR(MP_QSTR_AUTH_WPA2_WPA3_PSK), MP_ROM_INT(WIFI_AUTH_WPA2_WPA3_PSK) },
#endif
{
MP_ROM_QSTR
(
MP_QSTR_AUTH_MAX
),
MP_ROM_INT
(
WIFI_AUTH_MAX
)
},
{
MP_ROM_QSTR
(
MP_QSTR_PHY_LAN8720
),
MP_ROM_INT
(
PHY_LAN8720
)
},
...
...
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