Skip to content

WifiClientSecure blocking ESP8266 #4

@am-canes

Description

@am-canes

I am connecting ESP8266 to AWS IoT Core using this code and 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.

What could I do to make the process asynchronous?

Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions