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/Operation.h
- Revision:
- 93:0acd11870c6a
- Parent:
- 82:ca7430f50b2b
- Child:
- 94:61d44636f020
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/operation/Operation.h Mon Apr 13 14:24:58 2015 +0000 @@ -0,0 +1,12 @@ +#ifndef OPERATIONSTORE_H +#define OPERATIONSTORE_H + +enum OperationState { OPERATION_PENDING, OPERATION_EXECUTING, OPERATION_SUCCESSFUL, OPERATION_FAILED }; + +struct Operation { + Operation() : identifier(0), state(OPERATION_PENDING) {} + long identifier; + OperationState state; +}; + +#endif