This library wraps around DeviceHub.net's REST and MQTT APIs and allows you to easily connect to the DeviceHub.net PaaS from C++ code.
- C++11 compiler (gcc or clang)
- cmake build system
- mosquitto C & C++ library
- libcurl
- openssl development package
- uuid-dev
Install dependencies:
For Ubuntu:
sudo add-apt-repository ppa:mosquitto-dev/mosquitto-ppa
sudo apt-get update
sudo apt-get install cmake libmosquitto-dev libmosquittopp-dev libcurl4-openssl-dev uuid-dev libssl-dev
Build:
mkdir build
cd build
cmake ..
make
A version of this library specialy crafted for the Arduino, using PubSubClient will be released soon.