Official reference client implementation for Cumulocity SmartREST on u-blox C027.

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Vincent Wochnik

Committer:
xinlei
Date:
Wed May 13 12:12:55 2015 +0000
Revision:
107:fc5f25f0e0d5
Parent:
99:e369fc75c000
Child:
108:f1ee3e1eb126
OperationSupport revamped

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vwochnik 57:4af5f1bec3a6 1 #ifndef OPERATIONSUPPORT_H
vwochnik 57:4af5f1bec3a6 2 #define OPERATIONSUPPORT_H
vwochnik 57:4af5f1bec3a6 3
xinlei 94:61d44636f020 4 #include "Operation.h"
xinlei 107:fc5f25f0e0d5 5 #include "SmartRestConf.h"
vwochnik 57:4af5f1bec3a6 6 #include "SmartRestTemplate.h"
xinlei 107:fc5f25f0e0d5 7 #include "ConfigSync.h"
vwochnik 57:4af5f1bec3a6 8
vwochnik 57:4af5f1bec3a6 9 class OperationSupport
vwochnik 57:4af5f1bec3a6 10 {
vwochnik 57:4af5f1bec3a6 11 public:
xinlei 107:fc5f25f0e0d5 12 OperationSupport(SmartRestTemplate& tpl, OperationPool& pool,
xinlei 107:fc5f25f0e0d5 13 ConfigSync& _conf): _init(false), _tpl(tpl), opool(pool), conf(_conf) {}
xinlei 107:fc5f25f0e0d5 14
xinlei 107:fc5f25f0e0d5 15 bool executePendingOperations();
vwochnik 57:4af5f1bec3a6 16 bool init();
vwochnik 60:3c822f97fc73 17
vwochnik 57:4af5f1bec3a6 18 private:
xinlei 94:61d44636f020 19 bool _init;
vwochnik 57:4af5f1bec3a6 20 SmartRestTemplate& _tpl;
xinlei 94:61d44636f020 21 OperationPool& opool;
xinlei 107:fc5f25f0e0d5 22 ConfigSync &conf;
vwochnik 57:4af5f1bec3a6 23 };
vwochnik 57:4af5f1bec3a6 24
vwochnik 57:4af5f1bec3a6 25 #endif