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: util/SmartRestConf.cpp
- Revision:
- 95:010b0f7a0a1a
- Parent:
- 94:61d44636f020
- Child:
- 99:e369fc75c000
--- a/util/SmartRestConf.cpp Mon Apr 20 15:04:23 2015 +0000 +++ b/util/SmartRestConf.cpp Wed Apr 22 11:22:25 2015 +0000 @@ -2,12 +2,12 @@ #include <stdio.h> #include "b64.h" -const char* _username = NULL; -const char* _password = NULL; +const char *_username = NULL; +const char *_password = NULL; char _authStr[100] = {0}; const char *_identifier = "com_cumulocity_MbedAgent_1.5.2"; -const char _host[] = "developer.cumulocity.com"; -// const char _host[] = "management.m2m-devicecloud.com" +const char *_host = "developer.cumulocity.com"; +// const char *_host = "management.m2m-devicecloud.com" const int _port = 80; char fmtSmartRest[200] = {0};