![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
DeviceBootstrap.h@138:f8ab852e83e7, 2016-08-08 (annotated)
- Committer:
- xinlei
- Date:
- Mon Aug 08 11:05:57 2016 +0000
- Revision:
- 138:f8ab852e83e7
- Parent:
- 116:5de54f09f754
Etisalat and Teleena APN.
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> |
Cumulocity | 41:804f6a0bda26 | 5 | #include "DeviceInfo.h" |
Cumulocity | 41:804f6a0bda26 | 6 | |
Cumulocity | 41:804f6a0bda26 | 7 | |
Cumulocity | 41:804f6a0bda26 | 8 | class DeviceBootstrap |
Cumulocity | 41:804f6a0bda26 | 9 | { |
Cumulocity | 41:804f6a0bda26 | 10 | public: |
xinlei | 116:5de54f09f754 | 11 | DeviceBootstrap(DeviceInfo& d): deviceInfo(d) {} |
xinlei | 112:3872569be2af | 12 | bool bootstrap(); |
Cumulocity | 41:804f6a0bda26 | 13 | |
Cumulocity | 41:804f6a0bda26 | 14 | protected: |
Cumulocity | 41:804f6a0bda26 | 15 | bool obtainFromPlatform(); |
Cumulocity | 41:804f6a0bda26 | 16 | |
Cumulocity | 41:804f6a0bda26 | 17 | private: |
xinlei | 116:5de54f09f754 | 18 | DeviceInfo& deviceInfo; |
Cumulocity | 41:804f6a0bda26 | 19 | }; |
Cumulocity | 41:804f6a0bda26 | 20 | |
Cumulocity | 41:804f6a0bda26 | 21 | #endif |