Skip to content
Discussion options

You must be logged in to vote

So I solved this problem by implementing the Transport layer functions using the esp-tls API instead of the esp_transport_ssl. For some reason if you're using the sample TLS functions from the esp32 demo while AzureIoTHubClient_ProcessLoop is inside a loop it breaks when the socket reads no data. I recommend this approach if you're having the same problem since it's very straightforward to implement (and simpler too), just read the ESP-TLS page on the ESP-IDF reference.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by MelBWG
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant