Does NON-OS SDK 2.0.0 come with mbedTLS or axTLS?
-
- Posts: 5
- Joined: Sun Aug 09, 2015 4:16 am
Does NON-OS SDK 2.0.0 come with mbedTLS or axTLS?
Postby mharizanov » Mon Sep 12, 2016 4:56 pm
Does NON-OS SDK 2.0.0 come with mbedTLS or axTLS?
I see that mbedTLS is available as separate module, but am not sure id SDK 2.0.0 uses axTLS vs mbed TLS
Thanks
I see that mbedTLS is available as separate module, but am not sure id SDK 2.0.0 uses axTLS vs mbed TLS
Thanks
Re: Does NON-OS SDK 2.0.0 come with mbedTLS or axTLS?
Postby pratik » Mon Sep 12, 2016 7:06 pm
Hello,
The mbed TLS has been ported for the ESP8266 and you can have secure connections based on the espconn API and mbed TLS.
A clearer way to put it...
You have to use espconn APIs to make establish communication. There are 2 ways of doing this - use espconn with libssl (found in SDKs so far) or the other option is to use espconn with mbed TLS... an example project for which is available for download on the main Espressif website.
mbed TLS will work with both older versions and the v.2.0.0 (but default is libssl). Here is how to integrate mbed TLS with v.2.0.0, we will have some app notes on mbed TLS soon as well.
mbedTLS on nonOS SDK v.2.0.0: http://iot-bits.com/articles/compiling- ... onnection/
The mbed TLS has been ported for the ESP8266 and you can have secure connections based on the espconn API and mbed TLS.
A clearer way to put it...
You have to use espconn APIs to make establish communication. There are 2 ways of doing this - use espconn with libssl (found in SDKs so far) or the other option is to use espconn with mbed TLS... an example project for which is available for download on the main Espressif website.
mbed TLS will work with both older versions and the v.2.0.0 (but default is libssl). Here is how to integrate mbed TLS with v.2.0.0, we will have some app notes on mbed TLS soon as well.
mbedTLS on nonOS SDK v.2.0.0: http://iot-bits.com/articles/compiling- ... onnection/
-
- Posts: 5
- Joined: Sun Aug 09, 2015 4:16 am
Re: Does NON-OS SDK 2.0.0 come with mbedTLS or axTLS?
Postby mharizanov » Mon Sep 12, 2016 11:55 pm
Thanks,
that answers my questions and was my expectation as well.
that answers my questions and was my expectation as well.
-
- Posts: 2
- Joined: Thu Jan 05, 2017 3:46 pm
Re: Does NON-OS SDK 2.0.0 come with mbedTLS or axTLS?
Postby ai-thinker sky » Sun Jan 08, 2017 10:03 pm
I try ESP8266 NONOS SDK MBEDTLS 20160718 demo,but it shows that it fail to connect website!I updrate the latest sdk2.0!
SDK ver: 2.0.0(656edbf) compiled @ Jul 19 2016 17:58:40
phy ver: 1055, pp ver: 10.2
SDK version:2.0.0(656edbf)
data : 0x3ffe8000 ~ 0x3ffe83e8, len: 1000
rodata: 0x3ffe83f0 ~ 0x3ffe93d0, len: 4064
bss : 0x3ffe93d0 ~ 0x3ffef7b8, len: 25576
heap : 0x3ffef7b8 ~ 0x3fffc000, len: 51272
sleep disable
mode : sta(5c:cf:7f:1d:bd:0f)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 3
cnt
connected with ANDROID, channel 13
dhcp client start...
event 0
ip:192.168.0.9,mask:255.255.255.0,gw:192.168.0.1
event 3
heap 49264
user_dns_found 115.29.202.58
heap 48872
espconn connect return 0 !
client handshake start.
client handshake failed!
Reason:[-0x7200]
reconnect callback, error code -114 !
pm open,type:0 0
Re: Does NON-OS SDK 2.0.0 come with mbedTLS or axTLS?
Postby pratik » Fri Jan 20, 2017 1:37 pm
I have compiled a modified example up here and this should work for you to start with, give this a shot:
http://iot-bits.com/articles/compiling- ... onnection/
http://iot-bits.com/articles/compiling- ... onnection/
Who is online
Users browsing this forum: No registered users and 307 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.