Intel® Makers
Intel® Edison, Intel® Joule™, Intel® Curie™, Intel® Galileo
Announcements
Welcome - This is a Peer-to-Peer Forum only. Intel has discontinued these products but you may find support from other customers on this Forum
9868 Discussions

Edison Module WiFi Communication with SSL in Arduino IDE?

YHuan38
New Contributor I
1,729 Views

Does the Edison Module support SSL communication? What I need to implement is to GET or POST data from/to web server with SSL certificate/encryption. I need to program the app for the Edison module in the Arduino IDE environment. Any suggestion? Thank you.

0 Kudos
8 Replies
Carlos_M_Intel
Employee
282 Views

Hi gzyulin

I've never seen SSL libraries in the IDE, and not sure if there are SSL libraries for Arduino neither. Let me verify this and I wil be back to you.

You could give a try using Terminal Console, and adding the libraries for SSL: http://repo.opkg.net/edison/repo/core2-32/ Index of /edison/repo/core2-32

In order to install only the packages that you need, just type opkg install and the link to the package.

root@edison:~# opkg install http://repo.opkg.net/edison/repo/core2-32/libssl1.0.0_1.0.1g-r0_core2-32.ipk http://repo.opkg.net/edison/repo/core2-32/libssl1.0.0_1.0.1g-r0_core2-32.ipk

Regards;

CMata

Carlos_M_Intel
Employee
282 Views

Hi gzyulin

Do you have more questions related to this?

Regards;

CMata

Matthias_H_Intel
Employee
282 Views

in principle what you could try is to put the openssl libraries & include files from Edison into your Arduino toolchain (hardware\tools\edison\sysroots\core2-32-poky-linux\... -> usr\lib & usr\include) and use https that way.

JohnMechalas
Employee
282 Views

I have just the thing for you, though I used wolfSSL instead of OpenSSL. You could just as easily adapt it to use OpenSSL. THis is specific to Galileo but the principles are roughly the same.

https://software.intel.com/en-us/articles/bringing-ssl-to-arduino-on-galileo-through-wolfssl Bringing SSL to Arduino* on Galileo Through wolfSSL*

Daniel_R_Intel
Employee
282 Views

I'd like to re-open this thread. I'm trying to use the Arduino IDE on Edison to read Tweets to control my IoT application. Twitter requires SSL connections. When I go through the Wolf SSL paper, or think about putting openssl libraries and include files into the Arduino tool chain, it is difficult with the most recent version of Arduino IDE to determine where in that toolchain they should go. hardware/tools/edison doesn't exist...

Is there a write-up anywhere describing the libraries and include locations for the Edison version of Arduino?

Carlos_M_Intel
Employee
282 Views

Hi DanRussell,

In the latest Arduino IDE versions, you have to use a different locations, it has changed a little bit.

Go to C:\Users\\AppData\Local\Arduino15\packages\Intel\hardware\i686\1.6.2+1.0\

In ..\hardware\ i686 is for Edison and i586 is for Galileo, give it a try with this location and let me know if you find the folders.

Regards,

Charlie

Daniel_R_Intel
Employee
282 Views

Thank you for the reply, however I'm using an Ubuntu box for development. Do you have the same basic information for Linux?

drr

Carlos_M_Intel
Employee
282 Views

Hi,

I just downloaded the Arduino IDE 1.6.9 on Ubuntu 14.04 and installed the Edison package from the Boards Manager.

After this, a hidden folder was located in my home folder.

If you run the command ls -la ~ you should see the folder .arduino15. If you are not able to see this folder try running the following commands and see if you get better luck

sudo find / -path *Intel/hardware

sudo find / -path *arduino15

Let me know the outcome.

If you are using the GUI on Ubuntu, go to your HOME folder and go to View and select "Show Hidden Files"

I was able to see the location of the libraries in /home/MyUser/.arduino15/packages/Intel/hardware/i686/1.6.7+1.0/

Let me know if this works for you too

Regards,

Charlie

Reply