The use of the ESP8266 in the world of IoT

User avatar
By Amanda
#86842 I am connecting ESP8266 to AWS IoT Core. I'm using the library PubSubClient to MQTT. It works well and is sending messages.
But I am facing a problem with WifiClientSecure. When it is trying to connect to AWS my code is blocked for like 6 seconds or more depending on the response. But I have some critical proccess happening and my code never can be blocked.

Anyone could help me?

Thanks.