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

operation/Operation.h

Committer:
xinlei
Date:
2015-04-13
Revision:
93:0acd11870c6a
Parent:
operation/OperationStore.h@ 82:ca7430f50b2b
Child:
94:61d44636f020

File content as of revision 93:0acd11870c6a:

#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