Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: DeviceBootstrap.cpp
- Revision:
- 46:f6976fd64387
- Parent:
- 43:eff77697d88c
- Child:
- 49:ac0ba9d54ebc
diff -r 5d8feae26fe3 -r f6976fd64387 DeviceBootstrap.cpp --- a/DeviceBootstrap.cpp Thu Jul 24 14:52:44 2014 +0000 +++ b/DeviceBootstrap.cpp Thu Jul 24 16:02:47 2014 +0000 @@ -32,6 +32,16 @@ return true; } +const char * DeviceBootstrap::username() +{ + return _username; +} + +const char * DeviceBootstrap::password() +{ + return _password; +} + bool DeviceBootstrap::obtainFromStorage() { char buf[DEVICE_BOOTSTRAP_CREDENTIALS_LENGTH*2+2], *ptr;