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.
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.
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.
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*
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.
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.
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