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: MbedAgent.cpp
- Revision:
- 46:f6976fd64387
- Parent:
- 42:104746744af8
- Child:
- 47:89ae46d5c466
--- a/MbedAgent.cpp Thu Jul 24 14:52:44 2014 +0000 +++ b/MbedAgent.cpp Thu Jul 24 16:02:47 2014 +0000 @@ -32,9 +32,12 @@ // device bootstrapping process _io.lcdPrint("BOOTSTRAP", _deviceInfo.imei()); if (!_bootstrap.setUpCredentials()) { + _io.lcdPrint("BOOTSTRAP FAILURE"); puts("Could not obtain credentials."); return false; } + _io.lcdPrint("BOOTSTRAP SUCCESSFUL", _bootstrap.username(), _bootstrap.password()); + Thread::wait(5000); _io.lcdPrint("INTEGRATION"); if (!_integration.integrate()) {