Hello Eric ,

Have updated what you have suggested in the code.

Here is my output log :

Initialized the lwip.
Lwip IF is up now!
Into MQTT create connection
MQTT client created successfully.
Connection to broker initiated
MQTT Connection disconnected 256


Answering your question on why I want to use LwIP on my local system:
I am using the LwIP library on a TI processor. Facing a callback issue there as 
well, but that is after the system has connected to the broker.

I thought of getting the same setup running on my local system so I can 
understand the flow easily and debug the embedded code using this as the 
reference.

I only have one question:
When exactly is the mqtt_ connection_ callback () called ? It does return the 
status as MQTT_ CONNECT_ DISCONNECTED , but at what point in the code is it 
called?
When a connection has been initiated.. or ?


Regards,
Chandana


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

Reply via email to