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:
- 93:0acd11870c6a
- Parent:
- 92:48069375dffa
- Child:
- 96:5dfdc8568e9f
--- a/DeviceBootstrap.h Fri Mar 20 14:27:10 2015 +0000 +++ b/DeviceBootstrap.h Mon Apr 13 14:24:58 2015 +0000 @@ -2,7 +2,7 @@ #define DEVICEBOOTSTRAP_H #include <stddef.h> -#include "DeviceIO.h" +#include "LCDDisplay.h" #include "DeviceMemory.h" #include "AbstractSmartRest.h" #include "DeviceInfo.h" @@ -18,7 +18,7 @@ class DeviceBootstrap { public: - DeviceBootstrap(AbstractSmartRest&, DeviceIO&, DeviceInfo&, DeviceMemory&); + DeviceBootstrap(AbstractSmartRest&, LCDDisplay&, DeviceInfo&, DeviceMemory&); bool setUpCredentials(); const char * username(); @@ -36,7 +36,7 @@ AbstractSmartRest& _client; DeviceInfo& _deviceInfo; DeviceMemory& _deviceMemory; - DeviceIO& _io; + LCDDisplay& _lcdDisplay; char _username[DEVICE_BOOTSTRAP_CREDENTIALS_LENGTH]; char _password[DEVICE_BOOTSTRAP_CREDENTIALS_LENGTH]; };