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:
- 52:8f1370084268
- Parent:
- 46:f6976fd64387
- Child:
- 55:a0f7295ed6b6
diff -r e193db6ac7cb -r 8f1370084268 DeviceBootstrap.h --- a/DeviceBootstrap.h Tue Jul 29 17:53:43 2014 +0000 +++ b/DeviceBootstrap.h Wed Aug 13 10:55:11 2014 +0000 @@ -3,6 +3,7 @@ #include <stddef.h> #include "MDM.h" +#include "DeviceIO.h" #include "SmartRest.h" #include "DeviceInfo.h" @@ -19,7 +20,7 @@ class DeviceBootstrap { public: - DeviceBootstrap(SmartRest&, MDMSerial&, DeviceInfo&); + DeviceBootstrap(SmartRest&, MDMSerial&, DeviceIO&, DeviceInfo&); bool setUpCredentials(); const char * username(); @@ -37,6 +38,7 @@ SmartRest& _client; MDMSerial& _mdm; DeviceInfo& _deviceInfo; + DeviceIO& _io; char _username[DEVICE_BOOTSTRAP_CREDENTIALS_LENGTH], _password[DEVICE_BOOTSTRAP_CREDENTIALS_LENGTH]; };