Own fork of MbedSmartRest

Dependents:   MbedSmartRestMain MbedSmartRestMain

Fork of MbedSmartRest by Cumulocity Official

Revision:
24:11fd6fd14c28
Parent:
21:207549b3711e
diff -r 0529d6779ab1 -r 11fd6fd14c28 SmartRest.cpp
--- a/SmartRest.cpp	Mon Apr 27 13:02:37 2015 +0000
+++ b/SmartRest.cpp	Thu May 07 09:57:32 2015 +0000
@@ -185,7 +185,7 @@
         if (_client.sendIdentifier(overrideIdentifier) != CLIENT_OK)
             return SMARTREST_INTERNAL_ERROR;
     } else {
-        if (_client.sendIdentifier(::getIdentifier()) != CLIENT_OK)
+        if (_client.sendIdentifier(srX_ID) != CLIENT_OK)
             return SMARTREST_INTERNAL_ERROR;
     }
     return SMARTREST_SUCCESS;