AT+CIPSTART Not working with mbedtls

moosilauke18
Posts: 2
Joined: Wed May 24, 2017 9:11 am

AT+CIPSTART Not working with mbedtls

Postby moosilauke18 » Fri May 26, 2017 11:27 am

I am running:

AT version:1.3.0.0(Jul 14 2016 18:54:01)
SDK version:2.0.0(656edbf)
compile time:May 25 2017 21:01:48

I've followed the directions in the sdk guidelines to build the firmware with libmbedtls and it worked correctly. The issue is I cannot connect to a server with ssl anymore. I've tried with the above and the newer 2.1.0 SDK version both with mbedtls. Neither work and give me: `ERROR`

I've since gone back to using libssl and ssl works correctly, but it doesn't have TLS 1.2.

If anyone can help me I'd love that. For reference I'm using https://github.com/ekstrand/ESP8266wifi/ as a wrapper with a nano communicating with ESP8266.

Thanks!

pratik

Re: AT+CIPSTART Not working with mbedtls

Postby pratik » Sun May 28, 2017 10:45 pm

As far as I know, mbedtls has some bug with memory leakage in server mode. I have forwarded the logs to internal team, and they should issue a patch sometime soon.

moosilauke18
Posts: 2
Joined: Wed May 24, 2017 9:11 am

Re: AT+CIPSTART Not working with mbedtls

Postby moosilauke18 » Wed Jun 07, 2017 2:53 am

Thanks Pratik.

Is there a place to follow the patch? E.g. Github Issue?

Thanks,
Evan

pratik

Re: AT+CIPSTART Not working with mbedtls

Postby pratik » Wed Jun 07, 2017 3:15 pm

None that I know of yet, the new SDK has just been put up on GitHub.
I tried to compile mbedTLS sources myself and now the memory issues don't seem to show up. I did not use the libmbedtls.a provided with the mbedTLS project.

Who is online

Users browsing this forum: No registered users and 4 guests