A wrapper class for talking to Axeda from MBED devices. Uses HTTPClient and MbedJSONValue classes.
Dependents: axeda_wrapper_dev MTS_Axeda_Example
AxedaWrapper simplifies pushing data to Axeda's cloud.
Uses HTTPClient and MbedJSONValue libs:
http://mbed.org/users/donatien/code/HTTPClient/
http://mbed.org/users/samux/code/MbedJSONValue/
Diff: AxedaWrapper.h
- Revision:
- 1:d42aaf6f2e19
- Parent:
- 0:d472df0659a9
- Child:
- 2:99baa98f84a3
--- a/AxedaWrapper.h Thu Dec 19 21:49:05 2013 +0000 +++ b/AxedaWrapper.h Fri Dec 20 14:49:01 2013 +0000 @@ -2,7 +2,6 @@ #define AXEDAWRAPPER_H #include "HTTPClient.h" -#include "HTTPMap.h" #include "MbedJSONValue.h" #define MAX_KVP 32 @@ -80,7 +79,7 @@ bool sendAllKvp(bool clear = true); private: - bool sendBase(MbedJSONValue data); + bool sendBase(const std::string& data); HTTPClient* _http_client; std::string _url;