here is the error I am getting: when MQTT does not load:
assert failed: tcp_alloc /IDF/components/lwip/lwip/src/core/tcp.c:1851 (Required to lock TCPIP core functionality!)
This is using the sketch in Module 5, page 164 of “Smart Home” version 1.5. I found the solution you wrote on replacing “Async TCP” and “ESPAsyncWebServer”, but that did not work, Is there Something else I can do?
Garland Sparks
Hi.
Here’s the solution: https://rntlab.com/question/solvedassert-failed-tcp_alloc-idf-components-lwip-lwip-src-core-tcp-c1851-required-to-lock-tcpip-core-functionality/
Let me know if you can solve it.
Make sure you’re using the download links and not installing through the library manager. Also make sure you’ve deleted all files related to previous versions of the libraries.
And update the ESP32 (Tools > Boards > Boards Manager > ESP32 ) to the lates version.
Regards,
Sara