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: DeviceBootstrap.h
- Revision:
- 110:b7a403dbceb6
- Parent:
- 101:dbcd3bc51758
- Child:
- 113:3872569be2af
diff -r 2ec12f10ebf4 -r b7a403dbceb6 DeviceBootstrap.h --- a/DeviceBootstrap.h Wed May 13 13:54:17 2015 +0000 +++ b/DeviceBootstrap.h Wed May 13 15:00:24 2015 +0000 @@ -13,15 +13,13 @@ DeviceBootstrap(AbstractSmartRest&, DeviceInfo&); bool setUpCredentials(); - const char * username(); - const char * password(); + const char* username() const { return _username; } + const char* password() const { return _password; } protected: - bool obtainFromStorage(); bool obtainFromPlatform(); private: - bool writeToStorage(); void setCredentials(const char *, const char*, const char*); private: