![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
MbedAgent.h
- Committer:
- xinlei
- Date:
- 2015-04-13
- Revision:
- 92:0acd11870c6a
- Parent:
- 90:423177e8a401
- Child:
- 93:61d44636f020
File content as of revision 92:0acd11870c6a:
#ifndef MBEDAGENT_H #define MBEDAGENT_H #include <stddef.h> #include "MDM.h" #include "RtosSmartRest.h" #include "SmartRestTemplate.h" #include "DeviceInfo.h" #include "DeviceMemory.h" #include "DeviceBootstrap.h" #include "DeviceIntegration.h" #include "DeviceConfiguration.h" #include "ConfigurationProperties.h" #include "ConfigurationSynchronization.h" #include "SignalQualityMeasurement.h" #include "TemperatureMeasurement.h" #include "AccelerationMeasurement.h" #include "AnalogMeasurement.h" #include "LocationUpdate.h" #include "OperationSupport.h" #include "LCDDisplay.h" #include "SmartRestConf.h" class MbedAgent { public: MbedAgent(GPSI2C&, MDMSerial&, LCDDisplay&, DeviceInfo&, DeviceMemory&); bool init(); int run(); void loop(); protected: private: MDMSerial& _mdm; DeviceInfo& _deviceInfo; DeviceMemory& _deviceMemory; DeviceConfiguration _deviceConfiguration; ConfigurationProperties _configurationProperties; RtosSmartRest _client; SmartRestTemplate _tpl; DeviceBootstrap _bootstrap; DeviceIntegration _integration; LCDDisplay& _lcdDisplay; ConfigurationSynchronization _configurationSynchronization; SignalQualityMeasurement _signalQualityMeasurement; TemperatureMeasurement _temperatureMeasurement; AccelerationMeasurement _accelerationMeasurement; AnalogMeasurement _analogMeasurement; LocationUpdate _locationUpdate; OperationSupport _operationSupport; long _deviceId; }; #endif