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.cpp
- Revision:
- 99:47ea098f8a47
- Parent:
- 93:61d44636f020
- Child:
- 100:dbcd3bc51758
diff -r e369fc75c000 -r 47ea098f8a47 operation/OperationSupport.cpp --- a/operation/OperationSupport.cpp Thu May 07 09:57:55 2015 +0000 +++ b/operation/OperationSupport.cpp Thu May 07 13:56:19 2015 +0000 @@ -96,10 +96,9 @@ bool OperationSupport::requestPendingOperations() { IntegerValue msgId(110); - IntegerValue deviceId(_deviceId); ComposedRecord record; - if ((!record.add(msgId)) || (!record.add(deviceId))) + if (!record.add(msgId) || !record.add(IntegerValue(deviceID))) return false; else if (_client.send(record) != SMARTREST_SUCCESS) { _client.stop();