Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
DeviceBootstrap.h@112:3872569be2af, 2015-05-15 (annotated)
- Committer:
- xinlei
- Date:
- Fri May 15 14:07:51 2015 +0000
- Revision:
- 112:3872569be2af
- Parent:
- 109:b7a403dbceb6
- Child:
- 116:5de54f09f754
data smoothing for pots readings
Who changed what in which revision?
User | Revision | Line number | New 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 | 97:9f2de96941c4 | 12 | DeviceBootstrap(AbstractSmartRest&, DeviceInfo&); |
xinlei | 112: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 |