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.cpp
- Revision:
- 82:ca7430f50b2b
- Parent:
- 81:4a7761914901
- Child:
- 91:423177e8a401
--- a/operation/OperationSupport.cpp Wed Mar 04 14:02:39 2015 +0000 +++ b/operation/OperationSupport.cpp Fri Mar 06 10:38:03 2015 +0000 @@ -10,11 +10,13 @@ CharValue aOperationStateSuccessful("SUCCESSFUL"); CharValue aOperationStateFailed("FAILED"); -OperationSupport::OperationSupport(AbstractSmartRest& client, SmartRestTemplate& tpl, long& deviceId, ConfigurationSynchronization& configurationSynchronization, DeviceIO& io) : - _client(client), +OperationSupport::OperationSupport(AbstractSmartRest& client, SmartRestTemplate& tpl, long& deviceId, + ConfigurationSynchronization& configurationSynchronization, DeviceIO& io, + DisplayInfo& displayInfo) : + _deviceId(deviceId), _tpl(tpl), - _deviceId(deviceId), - _executor(client, tpl, deviceId, configurationSynchronization, io), + _client(client), + _executor(client, tpl, deviceId, configurationSynchronization, io, displayInfo), _thread1(OperationSupport::thread1_func, this), _thread2(OperationSupport::thread2_func, this), _thread3(OperationSupport::thread3_func, this)