In the file pico-sdk/lib/lwip/doc/mqtt_client.txt you'll find:
Did you modify your particular lwipopts.h file to do this?1. Initial steps, reserve memory and make connection to server:
You need to increase MEMP_NUM_SYS_TIMEOUT by one if you use MQTT!
Code:
#define MEMP_NUM_SYS_TIMEOUT (LWIP_NUM_SYS_TIMEOUT_INTERNAL + 1) // +1 for MQTT
Statistics: Posted by Silverlock — Tue Apr 09, 2024 2:09 am