Official reference client implementation for Cumulocity SmartREST on u-blox C027.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: MbedAgent.h
- Revision:
- 99:e369fc75c000
- Parent:
- 98:9f2de96941c4
- Child:
- 100:47ea098f8a47
diff -r 9f2de96941c4 -r e369fc75c000 MbedAgent.h --- a/MbedAgent.h Mon Apr 27 13:30:21 2015 +0000 +++ b/MbedAgent.h Thu May 07 09:57:55 2015 +0000 @@ -7,7 +7,7 @@ #include "DeviceInfo.h" #include "DeviceBootstrap.h" #include "DeviceIntegration.h" -#include "ConfigurationSynchronization.h" +#include "ConfigSync.h" #include "SignalQualityMeasurement.h" #include "TemperatureMeasurement.h" #include "AccelerationMeasurement.h" @@ -21,21 +21,19 @@ class MbedAgent { public: - MbedAgent(GPSI2C&, DeviceInfo&); + MbedAgent(DeviceInfo&); bool init(); int run(); void loop(); -protected: - private: long _deviceId; SmartRest _client; SmartRestTemplate _tpl; DeviceBootstrap _bootstrap; DeviceIntegration _integration; - ConfigurationSynchronization _configurationSynchronization; + ConfigSync _configSync; SignalQualityMeasurement _signalQualityMeasurement; TemperatureMeasurement _temperatureMeasurement; AccelerationMeasurement _accelerationMeasurement;