Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
measurement/SignalQualityMeasurement.h@94:61d44636f020, 2015-04-20 (annotated)
- Committer:
- xinlei
- Date:
- Mon Apr 20 15:04:23 2015 +0000
- Revision:
- 94:61d44636f020
- Parent:
- 93:0acd11870c6a
- Child:
- 96:5dfdc8568e9f
Integration of new device push code base.
Who changed what in which revision?
| User | Revision | Line number | New contents of line | 
|---|---|---|---|
| Cumulocity | 41:804f6a0bda26 | 1 | #ifndef SIGNALQUALITYMEASUREMENT_H | 
| Cumulocity | 41:804f6a0bda26 | 2 | #define SIGNALQUALITYMEASUREMENT_H | 
| Cumulocity | 41:804f6a0bda26 | 3 | |
| vwochnik | 55:a0f7295ed6b6 | 4 | #include "AbstractSmartRest.h" | 
| Cumulocity | 41:804f6a0bda26 | 5 | #include "SmartRestTemplate.h" | 
| Cumulocity | 41:804f6a0bda26 | 6 | #include "DeviceInfo.h" | 
| xinlei | 93:0acd11870c6a | 7 | #include "LCDDisplay.h" | 
| Cumulocity | 41:804f6a0bda26 | 8 | |
| Cumulocity | 41:804f6a0bda26 | 9 | class SignalQualityMeasurement | 
| Cumulocity | 41:804f6a0bda26 | 10 | { | 
| Cumulocity | 41:804f6a0bda26 | 11 | public: | 
| xinlei | 93:0acd11870c6a | 12 | SignalQualityMeasurement(AbstractSmartRest&, SmartRestTemplate&, long&, DeviceInfo&, LCDDisplay&); | 
| Cumulocity | 41:804f6a0bda26 | 13 | |
| Cumulocity | 41:804f6a0bda26 | 14 | bool init(); | 
| Cumulocity | 41:804f6a0bda26 | 15 | bool run(); | 
| Cumulocity | 41:804f6a0bda26 | 16 | |
| Cumulocity | 41:804f6a0bda26 | 17 | private: | 
| Cumulocity | 41:804f6a0bda26 | 18 | bool _init; | 
| Cumulocity | 41:804f6a0bda26 | 19 | long& _deviceId; | 
| Cumulocity | 41:804f6a0bda26 | 20 | SmartRestTemplate& _tpl; | 
| vwochnik | 55:a0f7295ed6b6 | 21 | AbstractSmartRest& _client; | 
| Cumulocity | 41:804f6a0bda26 | 22 | DeviceInfo& _deviceInfo; | 
| xinlei | 77:f6717e4eccc4 | 23 | int oldValues[2]; | 
| xinlei | 94:61d44636f020 | 24 | time_t t_start; | 
| xinlei | 93:0acd11870c6a | 25 | LCDDisplay& _lcdDisplay; | 
| Cumulocity | 41:804f6a0bda26 | 26 | }; | 
| Cumulocity | 41:804f6a0bda26 | 27 | |
| Cumulocity | 41:804f6a0bda26 | 28 | #endif | 

 Cumulocity
            Cumulocity