Search found 2 matches

by MelBWG
Mon Jun 05, 2023 8:01 pm
Forum: ESP-IDF
Topic: MbedTLS fails to receive bytes - errno11 & esp_trasport_read()
Replies: 1
Views: 1443

Re: MbedTLS fails to receive bytes - errno11 & esp_trasport_read()

So I found the issue and solved it for my implementation. In Azure Middleware for FreeRTOS it is required that the user implements four transport layer functions: TLS Connect, TLS Disconnect, TLS Recv and TLS Send. These were the functions I used: int32_t TLS_Socket_Recv( NetworkContext_t * pNetwork...
by MelBWG
Fri Jun 02, 2023 6:35 pm
Forum: ESP-IDF
Topic: MbedTLS fails to receive bytes - errno11 & esp_trasport_read()
Replies: 1
Views: 1443

MbedTLS fails to receive bytes - errno11 & esp_trasport_read()

<r>So I've been dealing with a very persistent error when receiving bytes (MQTT- MbedTLS) even though the connection is successfull and some bytes are received without problems before the error occurs. I'm using Azure FreeRTOS Middleware to connect to IoTHub, and it breaks either during provisioning...