MBEDTLS with TCP socket example

dmrsim
Posts: 24
Joined: Sat Sep 03, 2022 4:52 pm
Location: Italy

MBEDTLS with TCP socket example

Postby dmrsim » Wed Mar 13, 2024 4:05 pm

Hello,

I'm using esp-idf 4.4.2 and I have to use MBEDTLS using TCP socket in order to send data to a server.
Please, could you give me how to do it, or give me a small example?

Thanks!

MicroController
Posts: 1736
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: MBEDTLS with TCP socket example

Postby MicroController » Wed Mar 13, 2024 11:39 pm

Example, yes.
Small... no ;-)
https://github.com/espressif/esp-idf/tr ... ps_mbedtls

The ESP-TLS API is a bit more simple to use:
https://github.com/espressif/esp-idf/tr ... ps_request

dmrsim
Posts: 24
Joined: Sat Sep 03, 2022 4:52 pm
Location: Italy

Re: MBEDTLS with TCP socket example

Postby dmrsim » Fri Mar 15, 2024 7:19 am

Hello, thanks a lot, there is a way to use MBEDTLS and POSIX TCP socket?

daniweb
Posts: 6
Joined: Fri Feb 16, 2024 9:12 am

Re: MBEDTLS with TCP socket example

Postby daniweb » Fri Mar 15, 2024 7:20 am


Who is online

Users browsing this forum: Bing [Bot] and 139 guests