Hello,
I added WPS (WiFi Protected Setup) support to MicroPython-ESP32: https://github.com/jhgoebbert/micropython-esp32
It is only a few lines in modnetwork.c and two additional lines in Makefile and adds first of all the Push Button Configuration (WPS_PCB) mode.
The new command is "start_wps()" and can be used like this:
from network import WLAN,STA_IF
wlan = WLAN(STA_IF) # get current object, without changing the mode
wlan.active(True)
wlan.start_wps()
I will add the optional argument "mode" to "start_wps(mode)" with WPS_PCB or WPS_PIN
and open a pull request after that.
Best,
Jens Henrik
added WPS to MicroPython-ESP32
Re: added WPS to MicroPython-ESP32
Hello, Jens!
We are using micropython heavily in production. We just noticed, that ESP32 lacks WPS functionality, then found your unmerged PR in the old micropython-esp32 repository and the backport of your PR in the main micropython repository.
However, both PR were not merged and backport had conflicts with master (also, some CI checks failed).
We've added WPS libraries into Makefile and resolved conflicts. Everything worked just fine and we are really happy with having this functionality. Thank you for your job!
We've opened a PR with fixes on main micropython repository: https://github.com/micropython/micropython/pull/4464
Again, thank you.
Best,
Volodymyr from Odditive team.
We are using micropython heavily in production. We just noticed, that ESP32 lacks WPS functionality, then found your unmerged PR in the old micropython-esp32 repository and the backport of your PR in the main micropython repository.
However, both PR were not merged and backport had conflicts with master (also, some CI checks failed).
We've added WPS libraries into Makefile and resolved conflicts. Everything worked just fine and we are really happy with having this functionality. Thank you for your job!
We've opened a PR with fixes on main micropython repository: https://github.com/micropython/micropython/pull/4464
Again, thank you.
Best,
Volodymyr from Odditive team.