Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tomconte/arduinoduepolarsslclient
This is a sample Arduino Due sketch connecting to a PolarSSL server using PSK authentication.
https://github.com/tomconte/arduinoduepolarsslclient
Last synced: 12 days ago
JSON representation
This is a sample Arduino Due sketch connecting to a PolarSSL server using PSK authentication.
- Host: GitHub
- URL: https://github.com/tomconte/arduinoduepolarsslclient
- Owner: tomconte
- Created: 2014-06-09T19:16:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-09-04T13:01:33.000Z (about 10 years ago)
- Last Synced: 2024-10-26T09:46:24.675Z (25 days ago)
- Language: Arduino
- Size: 391 KB
- Stars: 3
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
ArduinoDuePolarSSLClient
========================This is a sample Arduino Due sketch connecting to a PolarSSL server using PSK authentication. It uses a stripped-down version of the PolarSSL library, so that it can fit in the Due.
This sketch should be built from the command-line, not the Arduino IDE. It includes a Makefile based on Paul Dreik's [Arduino Due Makefile](https://github.com/pauldreik/arduino-due-makefile).
In the Makefile, change the paths to point to your Arduino installation.
Do `make compile` to compile, `make upload` to upload the sketch to the Due. Check the comments to see how the upload works (differs on Linux and Windows).
To build on Windows, you will need some Unix tools like GNU make, ls, etc. An easy way to get them all is via [msysgit](https://github.com/msysgit/msysgit). The build should be launched from a Windows command prompt, not Cygwin.
For your convenience, the repo includes a pre-compiled version of the PolarSSL library (`libpolarssl.a`). If you want to rebuild from scratch, you should look at my [PolarSSL fork](https://github.com/tomconte/polarssl) that is configured for a stripped-down PSK configuration and includes a modifile CMake configuration to cross-compile for the Arduino Due.