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 Vincent Wochnik

Committer:
xinlei
Date:
Fri May 15 14:07:51 2015 +0000
Revision:
113:3872569be2af
Parent:
110:b7a403dbceb6
Child:
117:5de54f09f754
data smoothing for pots readings

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Cumulocity 41:804f6a0bda26 1 #ifndef DEVICEBOOTSTRAP_H
Cumulocity 41:804f6a0bda26 2 #define DEVICEBOOTSTRAP_H
Cumulocity 41:804f6a0bda26 3
Cumulocity 41:804f6a0bda26 4 #include <stddef.h>
vwochnik 55:a0f7295ed6b6 5 #include "AbstractSmartRest.h"
Cumulocity 41:804f6a0bda26 6 #include "DeviceInfo.h"
Cumulocity 41:804f6a0bda26 7
Cumulocity 41:804f6a0bda26 8
Cumulocity 41:804f6a0bda26 9 class DeviceBootstrap
Cumulocity 41:804f6a0bda26 10 {
Cumulocity 41:804f6a0bda26 11 public:
xinlei 98:9f2de96941c4 12 DeviceBootstrap(AbstractSmartRest&, DeviceInfo&);
xinlei 113:3872569be2af 13 bool bootstrap();
Cumulocity 41:804f6a0bda26 14
Cumulocity 41:804f6a0bda26 15 protected:
Cumulocity 41:804f6a0bda26 16 bool obtainFromPlatform();
Cumulocity 41:804f6a0bda26 17
Cumulocity 41:804f6a0bda26 18 private:
vwochnik 55:a0f7295ed6b6 19 AbstractSmartRest& _client;
Cumulocity 41:804f6a0bda26 20 DeviceInfo& _deviceInfo;
Cumulocity 41:804f6a0bda26 21 };
Cumulocity 41:804f6a0bda26 22
Cumulocity 41:804f6a0bda26 23 #endif