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:
- 98:9f2de96941c4
- Parent:
- 96:5dfdc8568e9f
- Child:
- 101:dbcd3bc51758
--- a/DeviceBootstrap.h Mon Apr 27 13:02:50 2015 +0000 +++ b/DeviceBootstrap.h Mon Apr 27 13:30:21 2015 +0000 @@ -2,7 +2,6 @@ #define DEVICEBOOTSTRAP_H #include <stddef.h> -#include "DeviceMemory.h" #include "AbstractSmartRest.h" #include "DeviceInfo.h" @@ -17,8 +16,8 @@ class DeviceBootstrap { public: - DeviceBootstrap(AbstractSmartRest&, DeviceInfo&, DeviceMemory&); - + DeviceBootstrap(AbstractSmartRest&, DeviceInfo&); + bool setUpCredentials(); const char * username(); const char * password(); @@ -34,7 +33,6 @@ private: AbstractSmartRest& _client; DeviceInfo& _deviceInfo; - DeviceMemory& _deviceMemory; char _username[DEVICE_BOOTSTRAP_CREDENTIALS_LENGTH]; char _password[DEVICE_BOOTSTRAP_CREDENTIALS_LENGTH]; };