Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: DeviceBootstrap.h
- Revision:
- 109:b7a403dbceb6
- Parent:
- 100:dbcd3bc51758
- Child:
- 112:3872569be2af
--- 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: