eerimoq / simba

Simba Embedded Programming Platform.
Other
341 stars 64 forks source link

ESP32: update wifi lib #124

Closed LupascuAndrei closed 6 years ago

LupascuAndrei commented 7 years ago

I see that simba is currently using an older version of https://github.com/espressif/esp32-wifi-lib Espressif release notes mention many fixes regarding wifi crashes and issues in the latest esp32 wifi lib. https://github.com/espressif/esp-idf/releases After making some stress tests with esp-idf 2.0 (Later Edit: 2.1), i see that sockets have never been temporarily blocked and ssl handshakes never fail because of timeouts ( using this example https://github.com/espressif/esp-idf/tree/master/examples/protocols/https_request ) These issues can be reproduced inside simba and i think it's because of the outdated wi-fi lib. Is there a straight forward way to update only the wifi libs inside simba? Thank you in advance.

eerimoq commented 7 years ago

Hi,

ok, nice catch, I'll make an uplift to version 2.0 soon. Hopefully Espressif hasn't made too many non-backwards compatible changes. =)

LupascuAndrei commented 7 years ago

That's great, thank you for the quick response !

Can it be an uplift to 2.1 since it was merged recently into master? I managed to reproduce the issues on 2.0, but not on 2.1.

eerimoq commented 7 years ago

I started the ESP-IDF uplift, but facing some problems with system startup on v2.1 and sockets v2.0. Will give an update here when I know more about the problems.

LupascuAndrei commented 7 years ago

Please let me know if there's anything i can help with, i'll gladly do my best