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
Diff: operation/OperationSupport.h
- Revision:
- 60:3c822f97fc73
- Parent:
- 59:f96be79feccd
- Child:
- 62:86a04c5bda18
--- a/operation/OperationSupport.h Fri Oct 24 11:30:43 2014 +0000 +++ b/operation/OperationSupport.h Fri Oct 24 15:00:36 2014 +0000 @@ -1,6 +1,7 @@ #ifndef OPERATIONSUPPORT_H #define OPERATIONSUPPORT_H +#include "rtos.h" #include "AbstractSmartRest.h" #include "SmartRestTemplate.h" #include "ComposedRecord.h" @@ -21,11 +22,15 @@ bool updateOperation(OperationStore::Operation&); CharValue& operationStateValue(OperationStore::Operation&); + void thread(); + static void thread_func(void const*); + private: bool _init; long& _deviceId; SmartRestTemplate& _tpl; AbstractSmartRest& _client; + Thread _thread; }; extern CharValue aOperationStatePending;