portable version of the cumulocity demo

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers SignalQualityMeasurement.h Source File

SignalQualityMeasurement.h

00001 #ifndef SIGNALQUALITYMEASUREMENT_H
00002 #define SIGNALQUALITYMEASUREMENT_H
00003 
00004 #include "SmartRest.h"
00005 #include "SmartRestTemplate.h"
00006 #include "DeviceInfo.h"
00007 
00008 class SignalQualityMeasurement
00009 {
00010 public:
00011     SignalQualityMeasurement(SmartRest&, SmartRestTemplate&, long&, DeviceInfo&);
00012     
00013     bool init();
00014     bool run();
00015 
00016 private:
00017     bool _init;
00018     long& _deviceId;
00019     SmartRestTemplate& _tpl;
00020     SmartRest& _client;
00021     DeviceInfo& _deviceInfo;
00022 };
00023 
00024 #endif