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

Committer:
pangsk
Date:
2012-01-30
Revision:
1:63b6db2e24a5
Parent:
0:7f301f08b68f

File content as of revision 1:63b6db2e24a5:

/**
 * 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() {
}