CyaSSL usage example: Xively access with HTTPS
Dependencies: EthernetInterface HTTPClient mbed-rtos LM75B mbed
Import this for FRDM-k64f: http://mbed.org/users/wolfSSL/code/CyaSSL-Xively-FRDM/
For using this example:
- Prepare mbed with Ethernet connection.
- Go to http://xively.com. Sign up, and create your channel.
- Copy "Feed ID" and "API Key" on the page to XI_FEED_ID and XI_API_KEY in xively-main.cpp.
- The demo assumes LM75B temperature sensor on Xively Jumpstart Kit board. If your board does not have it, replace tmp.read() with your own read.
- Build, download it to mbed, and you will get the result "Temp" on your Xively channel page.
- Click "Temp" to get temperature graph.
Have fun!
日本語: https://mbed.org/users/wolfSSL/code/CyaSSL-Xively/wiki/Xively-example-jp
Revision 5:7ec4f0a1a465, committed 2014-07-12
- Comitter:
- wolfSSL
- Date:
- Sat Jul 12 12:14:35 2014 +0000
- Parent:
- 4:dd8752b3daf4
- Commit message:
- CyaSSL under HTTPClient class
Changed in this revision
CyaSSL.lib | Show diff for this revision Revisions of this file |
HTTPClient.lib | Show annotated file Show diff for this revision Revisions of this file |
diff -r dd8752b3daf4 -r 7ec4f0a1a465 CyaSSL.lib --- a/CyaSSL.lib Sat Jul 12 07:58:19 2014 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -http://mbed.org/users/wolfSSL/code/CyaSSL/#1239e9b70ca2
diff -r dd8752b3daf4 -r 7ec4f0a1a465 HTTPClient.lib --- a/HTTPClient.lib Sat Jul 12 07:58:19 2014 +0000 +++ b/HTTPClient.lib Sat Jul 12 12:14:35 2014 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/wolfSSL/code/HTTPClient/#1bef4962dd61 +http://mbed.org/users/wolfSSL/code/HTTPClient/#531f03a263a9