3 ms·
When I was working with an ESP8266 board I was really frustrated that the wifi stack was blocking. It meant I couldn't make a good user experience in the event
by whatisthiseven 6y ago
When I was working with an ESP8266 board I was really frustrated that the wifi stack was blocking. It meant I couldn't make a good user experience in the event that wifi was lost or at boot.
If that blob was open sourced, it would have been great to make changes to the wifi stack and make it truly async.
- pantalaimon 6y agoYou can run more than one thread.
- whatisthiseven 6y agoYour comment intrigued me as I hadn't found anything at the time to support this, however this unofficial library exists to try to solve my problem: https://github.com/bmellstrom/esp8266-arduino-threads https://github.com/bmellstrom/esp8266-arduino-threads Many of the solutions I had found talked about cooperative multi-threading, which doesn't work if I can't make the wifi stack cooperate with me. Maybe I can make my device run that much smoother during wifi drops now!