Chandana,

Based on that I think you have a connection issue, not a MQTT issue. Can you ping the LWIP system from the outside when it's up? You should be able to if you have not deliberately blocked it. I assume the IP addresses and routing is all taken care of but I suggest to check it in any case.

To answer your question in the other e-mail: the callback will be called when the connection attempt finished, whether successful or not.


Regards,

Eric.


On 8/21/24 12:41, Chandana N wrote:
Eric,

My Mosquitto broker is working fine on the system, publish and subscribe have been verified.

But on using the mqtt connect function of lwip and analysing the packets, I observe that there are no MQTT request packets that are being sent from the system.

I have also verified the same with another MQTT code which was taken from the lwip examples. That has also failed.

Do the functions of lwip work ? Or are there any extra configurations to be made ?


Regards,
Chandana.

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to