This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3200-LAUNCHXL: MQTT on cc3200 hangs for 28 seconds if TCP client not made.

Part Number: CC3200-LAUNCHXL
Other Parts Discussed in Thread: ENERGIA, CC3200

Hi,

I am using MQTT on cc3200 as client. I am using Energia as the IDE.

Case1=>
When CC3200 is connected to wifi router and there is Internet connection on the router, I received data on  MQTT and there was no delay in connection of either tcp or mqtt client.
Case2=>
This case is valid only when CC3200 is connected to the router but there is no Internet on it. Now the issue is that as cc3200 is connected to the router with no Internet, it will try again and again to establish MQTT connection. But when it tries to establish tcp client connection it takes 28 seconds and when return code from tcp arrives only then the rest of the code resumes to work. It hangs in that part. Is there any way to reduce this time by changing any parameter in the library?