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: 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
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.
1 of 1 people found this helpful
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.
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?
In the latest Arduino IDE versions, you have to use a different locations, it has changed a little bit.
Go to C:\Users\<You>\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.
Thank you for the reply, however I'm using an Ubuntu box for development. Do you have the same basic information for Linux?
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