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 LocationUpdate.h Source File

LocationUpdate.h

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