-->
Page 1 of 1

WifiClientSecure blocking ESP8266 when connecting to AWS IoT

PostPosted: Thu Apr 30, 2020 8:55 pm
by Amanda
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.