This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

MQTT Connect timeout

HI,

I compiled MQTT sample, and always got :

   ERROR: mqtt_connect -60

timeout error.

It seems that it takes about 2 minutes to get LTE link connected:

   LTE Link Connected!

   IPv4 Address found 198.41.30.254

Then, got the above error:

   ERROR: mqtt_connect -60

How to increase the timeout parameter, and is this error because of something else?

Thank you,

David Zhou

Parents Reply Children
No Data
Related