Hi, everyone!
I am using the official version of espressif' 「ESP8266 NONOS SDK 2.2.0」.
(https://github.com/espressif/ESP8266_NONOS_SDK/releases)
However, it is a difficult situation due to errors in Secure (SSL) communication.
I would like a lot of help and advice.
【Background】
Referring to the source code of the existing IoT_Demo,
You can see that it uses "libssl.a" in the SSL communication.
However, this library does not seem to support the SHA-2 algorithm.
So I try to use mbedlib' "libmbedlib.a" link.
【Question】
■How to use "libmbedlib.a"
1)I already have "libmbedlib.a" in the SDK's lib (ESP8266_NONOS_SDK-2.2.0 \ lib) folder.
Can I just change "-lssl" → "-lmbedtls" in the user application's makefile?
2)Especially, there was a difference between the header file(espconn.h) of "ESP8266_NONOS_SDK-2.2.0\third_party\include\lwip\app" and the header file(espconn.h) of "ESP8266_NONOS_SDK - 2.2.0 \ include", is there a problem?
■About errors and how to fix them
3) In the makefile, change "-lssl" → "-lmbedtls",
When executing 「espconn_secure_connect」, a "-114" error occurs from the CallBack function registered in espconn_regist_reconcb' function.
What does this error(-114) mean?
And how can you solve it?
pls, help me!
when securely connect(SSL), reconnection callback error(-114)
Re: when securely connect(SSL), reconnection callback error(-114)
Postby Her Mary » Tue Dec 11, 2018 8:43 pm
Can this doc help? https://www.espressif.com/en/support/do ... s?keys=SSL
Who is online
Users browsing this forum: No registered users and 288 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
- 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.