Hi Christoph 

Chrrisoph wrote "Yes, I’m using lwIP on Picos as well. In my case, the MQTT 
client was a bit of a pain and kept throwing me into random panics too. The 
problem is that it doesn’t take the state lock. Basically, all calls to mqtt_* 
functions have to be guarded by cyw43_arch_lwip_begin() / 
cyw43_arch_lwip_end(). Once I did that, everything became quite stable for me."

First of all thank you for the information.  This provides a path forward to 
getting the random panics resolved.  I am very new to using lwip & pico_w.  Can 
you provide a link to example code the shows cyw43_arch_lwip_begin() / 
cyw43_arch_lwip_end() with mqtt_ functions.
  
What are using as the broker?  I am using mosquitto on a RPi.  I have been 
working on RPi Bare Metal. I can a broker  on hardware/QEMU   
https://github.com/develone/Ultibo_Projects/tree/master/Pauls-ultibo-mqtt



Edward Vidal Jr. e-mail devel...@sbcglobal.net 915-595-1613
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to