Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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;

Cumulocity