portable version of the cumulocity demo

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Committer:
Cumulocity
Date:
Tue Jul 15 12:44:34 2014 +0000
Revision:
41:804f6a0bda26
refactoring of mbed agent

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Cumulocity 41:804f6a0bda26 1 #ifndef SIGNALQUALITYMEASUREMENT_H
Cumulocity 41:804f6a0bda26 2 #define SIGNALQUALITYMEASUREMENT_H
Cumulocity 41:804f6a0bda26 3
Cumulocity 41:804f6a0bda26 4 #include "SmartRest.h"
Cumulocity 41:804f6a0bda26 5 #include "SmartRestTemplate.h"
Cumulocity 41:804f6a0bda26 6 #include "DeviceInfo.h"
Cumulocity 41:804f6a0bda26 7
Cumulocity 41:804f6a0bda26 8 class SignalQualityMeasurement
Cumulocity 41:804f6a0bda26 9 {
Cumulocity 41:804f6a0bda26 10 public:
Cumulocity 41:804f6a0bda26 11 SignalQualityMeasurement(SmartRest&, SmartRestTemplate&, long&, DeviceInfo&);
Cumulocity 41:804f6a0bda26 12
Cumulocity 41:804f6a0bda26 13 bool init();
Cumulocity 41:804f6a0bda26 14 bool run();
Cumulocity 41:804f6a0bda26 15
Cumulocity 41:804f6a0bda26 16 private:
Cumulocity 41:804f6a0bda26 17 bool _init;
Cumulocity 41:804f6a0bda26 18 long& _deviceId;
Cumulocity 41:804f6a0bda26 19 SmartRestTemplate& _tpl;
Cumulocity 41:804f6a0bda26 20 SmartRest& _client;
Cumulocity 41:804f6a0bda26 21 DeviceInfo& _deviceInfo;
Cumulocity 41:804f6a0bda26 22 };
Cumulocity 41:804f6a0bda26 23
Cumulocity 41:804f6a0bda26 24 #endif