Hi,
actually I have not time to set up and example. Is it possible to have by your side a IoTHUB and a pair of certificate to autenticate?
If yes, i will rearrange to create an example with your iothub in a couple of days.
Thanks
Search found 9 matches
- Fri Apr 16, 2021 6:54 am
- Forum: ESP-IDF
- Topic: mbedTLS with dynamic memory [IDFGH-4803]
- Replies: 19
- Views: 20226
- Tue Mar 30, 2021 8:31 am
- Forum: ESP-IDF
- Topic: mbedTLS with dynamic memory [IDFGH-4803]
- Replies: 19
- Views: 20226
Re: mbedTLS with dynamic memory [IDFGH-4803]
Not possible. I will prepare an example more in detail in a few days. Trust me It' more easy than you expected. It is just an HTTPS client, and I know for sure that the input fragment coming from the server are 16k.
- Tue Mar 30, 2021 7:21 am
- Forum: ESP-IDF
- Topic: mbedTLS with dynamic memory [IDFGH-4803]
- Replies: 19
- Views: 20226
Re: mbedTLS with dynamic memory [IDFGH-4803]
Actually I can't. But the example at the beginning of this thread should reproduce the problem. I can't share with you certificates and the URL for the POST.
- Fri Mar 26, 2021 3:23 pm
- Forum: ESP-IDF
- Topic: mbedTLS with dynamic memory [IDFGH-4803]
- Replies: 19
- Views: 20226
Re: mbedTLS with dynamic memory [IDFGH-4803]
Not working. Sorry for my late reply. Here below some logs. The same code works with STATIC memory in mbedTLS, but once i switch with DYNAMIC it returns an error. I (29581) mbedtls: ssl_tls.c:8203 => handshake I (29581) mbedtls: ssl_cli.c:3785 client state: 0 I (29581) mbedtls: ssl_tls.c:2847 => flu...
- Mon Mar 22, 2021 9:24 am
- Forum: ESP-IDF
- Topic: mbedTLS with dynamic memory [IDFGH-4803]
- Replies: 19
- Views: 20226
Re: mbedTLS with dynamic memory [IDFGH-4803]
Hi, sorry for my late reply. At the moment the hardware is faulty and I'm waiting for new to arrive. This week I'll try this patch. Just for reminder which version of ESP-IDF are you using? Since I've tried to apply the patch but it doesn't. Maybe I was in the wrong directory.
- Mon Mar 15, 2021 1:58 pm
- Forum: ESP-IDF
- Topic: mbedTLS with dynamic memory [IDFGH-4803]
- Replies: 19
- Views: 20226
Re: mbedTLS with dynamic memory [IDFGH-4803]
Can you please provide the SHA commit of mbedtls?yuanjianmin wrote: ↑Mon Mar 15, 2021 9:59 amCould you please try this patch to confirm your issue whether has been fixed.
- Mon Mar 15, 2021 10:30 am
- Forum: ESP-IDF
- Topic: mbedTLS with dynamic memory [IDFGH-4803]
- Replies: 19
- Views: 20226
Re: mbedTLS with dynamic memory [IDFGH-4803]
for sure, i'll let you know if the crash occurs again
- Wed Feb 24, 2021 10:44 am
- Forum: ESP-IDF
- Topic: mbedTLS with dynamic memory [IDFGH-4803]
- Replies: 19
- Views: 20226
Re: mbedTLS with dynamic memory [IDFGH-4803]
Hi,
I'm using ESP-IDF v4.2-dev-1206-g741960d5c-dirty and unfortunatly I am no able to go back and understand when the code crashes.
Is there something I can try?
I'm using ESP-IDF v4.2-dev-1206-g741960d5c-dirty and unfortunatly I am no able to go back and understand when the code crashes.
Is there something I can try?
- Wed Feb 17, 2021 11:10 am
- Forum: ESP-IDF
- Topic: mbedTLS with dynamic memory [IDFGH-4803]
- Replies: 19
- Views: 20226
mbedTLS with dynamic memory [IDFGH-4803]
Hi Guys, currently i was tring to implemente a custom HTTPs client to perform a POST. I'm facing problems with mbedTLS with dynamic memory allocation. Let me explain, if I set the MAX_FRAGMENT_LENGTH to 8k IN and 4k OUT with STATIC, the POST is corretly executed. But if I switch to dynamic a crash o...