whitecatboard / Lua-RTOS-ESP32

Lua RTOS for ESP32
Other
1.19k stars 221 forks source link

implemented wpa2 enterprise for wifi #241

Closed the0ne closed 5 years ago

the0ne commented 5 years ago

sample usage:

net.wf.setup(net.wf.mode.STAENT, "enterprise-ssid", "empty-string-or-my-identity",
"empty-string-or-my-username", "empty-string-or-my-password",
"empty-string-or-/path/to/my-ca.pem",
"empty-string-or-/path/to/my-client.crt",
"empty-string-or-/path/to/my-client.key",
"empty-string-or-my-client-key-password", net.wf.timecheck.DISABLE, ip,
mask, gw, dns1, dns2, powersave, wifi-channel)

there currently exists an issue inside the esp-idf: wpa: Method private structure allocated failure

as soon as espressif fixes that, certificate auth will work for now, user+pwd auth including ca-cert check work perfectly already

the0ne commented 5 years ago

@jolivepetrus added wiki entry to https://github.com/the0ne/Lua-RTOS-ESP32/wiki/Net-module as https://github.com/the0ne/Lua-RTOS-ESP32/wiki/Net-module#netwfsetupnetwfmodestaent-ssid--identity-username-password-ca-cert-key-keypwd-timecheck-powersave-channel-hidden