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:
vwochnik
Date:
Thu Oct 30 14:46:22 2014 +0000
Revision:
66:31c754c36ed7
Parent:
65:a62dbef2f924
Child:
68:0dc778a16d0d
message on lcd operation

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vwochnik 62:86a04c5bda18 1 #ifndef OPERATIONEXECUTOR_H
vwochnik 62:86a04c5bda18 2 #define OPERATIONEXECUTOR_H
vwochnik 62:86a04c5bda18 3
vwochnik 62:86a04c5bda18 4 #include "AbstractSmartRest.h"
vwochnik 62:86a04c5bda18 5 #include "SmartRestTemplate.h"
vwochnik 62:86a04c5bda18 6 #include "OperationStore.h"
vwochnik 65:a62dbef2f924 7 #include "DeviceIO.h"
vwochnik 62:86a04c5bda18 8
vwochnik 62:86a04c5bda18 9 class OperationExecutor
vwochnik 62:86a04c5bda18 10 {
vwochnik 62:86a04c5bda18 11 public:
vwochnik 65:a62dbef2f924 12 OperationExecutor(AbstractSmartRest&, SmartRestTemplate&, long&, DeviceIO&);
vwochnik 62:86a04c5bda18 13
vwochnik 62:86a04c5bda18 14 bool init();
vwochnik 62:86a04c5bda18 15 bool executeOperation(OperationStore::Operation&);
vwochnik 64:31a640c32399 16
vwochnik 64:31a640c32399 17 protected:
vwochnik 64:31a640c32399 18 bool executeRelayStateUpdate(bool relayState);
vwochnik 66:31c754c36ed7 19 bool executeMessageDisplay(const char *message);
vwochnik 62:86a04c5bda18 20
vwochnik 62:86a04c5bda18 21 private:
vwochnik 62:86a04c5bda18 22 bool _init;
vwochnik 62:86a04c5bda18 23 long& _deviceId;
vwochnik 62:86a04c5bda18 24 SmartRestTemplate& _tpl;
vwochnik 62:86a04c5bda18 25 AbstractSmartRest& _client;
vwochnik 65:a62dbef2f924 26 DeviceIO& _io;
vwochnik 62:86a04c5bda18 27 };
vwochnik 62:86a04c5bda18 28
vwochnik 62:86a04c5bda18 29 #endif