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
Diff: Pachube/Pachube.cpp
- Revision:
- 0:7f301f08b68f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Pachube/Pachube.cpp Mon Jan 02 20:03:01 2012 +0000 @@ -0,0 +1,17 @@ +/** + * Pachube API interface driver. (Version 0.0.1) + * + * Copyright (C) 2010 Shinichiro Nakamura (CuBeatSystems) + * http://shinta.main.jp/ + */ + +#include "Pachube.h" + +const std::string Pachube::REQUESTHEADER = "X-PachubeApiKey"; +const std::string Pachube::URLBASE_V2 = "http://api.pachube.com/v2"; + +Pachube::Pachube(std::string APIKEY) : APIKEY(APIKEY) { +} + +Pachube::~Pachube() { +}