code for espconn_secure _connect missing in nonos_sdk

willH
Posts: 1
Joined: Thu Feb 02, 2017 6:04 am

code for espconn_secure _connect missing in nonos_sdk

Postby willH » Thu Feb 02, 2017 6:16 am

I am trying to compile an app but I keep getting errors. I get unresolved reference in the linker for espconn_secure_sent, espconn_secure set_size and espconn_secure_connect. I have #include espconn.h in the code but there is no codethere for those APIs. I can only find prototypes. Where can i get the code for these functions it doesn't appear to be in the SDK which I downloaded.

pratik

Re: code for espconn_secure _connect missing in nonos_sdk

Postby pratik » Mon Feb 06, 2017 11:59 am

Did you add -lssl or -lmbedtls to your makefile? You need to link the library files to be able to use the functions.
A good place to start is the mbedTLS example on Espressif website.
I have written an article on it as well:
http://iot-bits.com/articles/compiling- ... onnection/

Who is online

Users browsing this forum: No registered users and 60 guests