![](/media/cache/group/u-blox_logo_trans.png.50x50_q85.png)
portable version of the cumulocity demo
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: MbedAgent.h
- Revision:
- 47:89ae46d5c466
- Parent:
- 42:104746744af8
- Child:
- 49:ac0ba9d54ebc
--- a/MbedAgent.h Thu Jul 24 16:02:47 2014 +0000 +++ b/MbedAgent.h Thu Jul 24 23:32:53 2014 +0000 @@ -12,10 +12,12 @@ #include "SignalQualityMeasurement.h" #include "TemperatureMeasurement.h" #include "AccelerationMeasurement.h" +#include "AnalogMeasurement.h" +#include "LocationUpdate.h" #define MBED_AGENT_HOST "developer.cumulocity.com" #define MBED_AGENT_PORT 80 -#define MBED_AGENT_DEVICE_IDENTIFIER "com_cumulocity_MbedAgent_1.0.0" +#define MBED_AGENT_DEVICE_IDENTIFIER "com_cumulocity_MbedAgent_1.0.3" #define MBED_AGENT_INTERVAL 60.0 class MbedAgent @@ -40,6 +42,8 @@ SignalQualityMeasurement _signalQualityMeasurement; TemperatureMeasurement _temperatureMeasurement; AccelerationMeasurement _accelerationMeasurement; + AnalogMeasurement _analogMeasurement; + LocationUpdate _locationUpdate; long _deviceId; };