![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
mbed IoT Gateway board demo. This program received wireless data from JeeNode and uploads to Pachube. http://www.skpang.co.uk/catalog/mbed-iot-gateway-board-p-1051.html Full kit: http://www.skpang.co.uk/catalog/mbed-iot-gateway-full-kit-p-1052.html
Dependencies: EthernetNetIf mbed
Pachube/Pachube.cpp@1:63b6db2e24a5, 2012-01-30 (annotated)
- Committer:
- pangsk
- Date:
- Mon Jan 30 21:44:36 2012 +0000
- Revision:
- 1:63b6db2e24a5
- Parent:
- 0:7f301f08b68f
Correct init code in RF12B.cpp
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
pangsk | 0:7f301f08b68f | 1 | /** |
pangsk | 0:7f301f08b68f | 2 | * Pachube API interface driver. (Version 0.0.1) |
pangsk | 0:7f301f08b68f | 3 | * |
pangsk | 0:7f301f08b68f | 4 | * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) |
pangsk | 0:7f301f08b68f | 5 | * http://shinta.main.jp/ |
pangsk | 0:7f301f08b68f | 6 | */ |
pangsk | 0:7f301f08b68f | 7 | |
pangsk | 0:7f301f08b68f | 8 | #include "Pachube.h" |
pangsk | 0:7f301f08b68f | 9 | |
pangsk | 0:7f301f08b68f | 10 | const std::string Pachube::REQUESTHEADER = "X-PachubeApiKey"; |
pangsk | 0:7f301f08b68f | 11 | const std::string Pachube::URLBASE_V2 = "http://api.pachube.com/v2"; |
pangsk | 0:7f301f08b68f | 12 | |
pangsk | 0:7f301f08b68f | 13 | Pachube::Pachube(std::string APIKEY) : APIKEY(APIKEY) { |
pangsk | 0:7f301f08b68f | 14 | } |
pangsk | 0:7f301f08b68f | 15 | |
pangsk | 0:7f301f08b68f | 16 | Pachube::~Pachube() { |
pangsk | 0:7f301f08b68f | 17 | } |