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
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
5:7ec4f0a1a465 | 2014-07-12 | wolfSSL | CyaSSL under HTTPClient class |
4:dd8752b3daf4 | 2014-07-12 | wolfSSL | update HTTPClient |
3:86932758c72b | 2014-07-12 | wolfSSL | CyaSSL 3.0.0, Add FRDM-k64f |
2:fa6565a5cb59 | 2014-07-12 | wolfSSL | CyaSSL 3.0.0; |
1:1bb146136465 | 2014-07-12 | wolfSSL | Common main.cpp for FRDM-K64F; |
0:70ada960373c | 2014-04-24 | wolfSSL | CyaSSL usage example: Xively access with HTTPS |