AT+CIPSTART Not working with mbedtls
-
- 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!
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!
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.
-
- 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
Is there a place to follow the patch? E.g. Github Issue?
Thanks,
Evan
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.
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 169 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
-
- All times are UTC+08:00
- Top
- Delete all board cookies
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.