An application to log WiFi SSIDs for position lookup testing
Dependencies: C027_Support SWO mbed-rtos mbed picojson
Fork of lpc4088_ebb_ublox_Cellular_PubNubDemo_rtos by
MbedAgent.h@1:cac9b2960637, 2015-02-15 (annotated)
- Committer:
- rosterloh84
- Date:
- Sun Feb 15 22:04:12 2015 +0000
- Revision:
- 1:cac9b2960637
First working version. Lots to do still.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
rosterloh84 | 1:cac9b2960637 | 1 | #pragma once |
rosterloh84 | 1:cac9b2960637 | 2 | |
rosterloh84 | 1:cac9b2960637 | 3 | #include <stddef.h> |
rosterloh84 | 1:cac9b2960637 | 4 | #include "MDM.h" |
rosterloh84 | 1:cac9b2960637 | 5 | #include "DeviceIO.h" |
rosterloh84 | 1:cac9b2960637 | 6 | #include "DeviceInfo.h" |
rosterloh84 | 1:cac9b2960637 | 7 | #include "DeviceMemory.h" |
rosterloh84 | 1:cac9b2960637 | 8 | #include "DeviceConfiguration.h" |
rosterloh84 | 1:cac9b2960637 | 9 | #include "ConfigurationProperties.h" |
rosterloh84 | 1:cac9b2960637 | 10 | #include "SignalQualityMeasurement.h" |
rosterloh84 | 1:cac9b2960637 | 11 | #include "AnalogMeasurement.h" |
rosterloh84 | 1:cac9b2960637 | 12 | #include "LocationUpdate.h" |
rosterloh84 | 1:cac9b2960637 | 13 | |
rosterloh84 | 1:cac9b2960637 | 14 | class MbedAgent |
rosterloh84 | 1:cac9b2960637 | 15 | { |
rosterloh84 | 1:cac9b2960637 | 16 | public: |
rosterloh84 | 1:cac9b2960637 | 17 | MbedAgent(DeviceIO&, MDMSerial&, DeviceInfo&, DeviceMemory&); |
rosterloh84 | 1:cac9b2960637 | 18 | |
rosterloh84 | 1:cac9b2960637 | 19 | bool init(); |
rosterloh84 | 1:cac9b2960637 | 20 | bool run(); |
rosterloh84 | 1:cac9b2960637 | 21 | |
rosterloh84 | 1:cac9b2960637 | 22 | protected: |
rosterloh84 | 1:cac9b2960637 | 23 | void loop(); |
rosterloh84 | 1:cac9b2960637 | 24 | |
rosterloh84 | 1:cac9b2960637 | 25 | private: |
rosterloh84 | 1:cac9b2960637 | 26 | DeviceIO& _io; |
rosterloh84 | 1:cac9b2960637 | 27 | MDMSerial& _mdm; |
rosterloh84 | 1:cac9b2960637 | 28 | DeviceInfo& _deviceInfo; |
rosterloh84 | 1:cac9b2960637 | 29 | DeviceMemory& _deviceMemory; |
rosterloh84 | 1:cac9b2960637 | 30 | DeviceConfiguration _deviceConfiguration; |
rosterloh84 | 1:cac9b2960637 | 31 | ConfigurationProperties _configurationProperties; |
rosterloh84 | 1:cac9b2960637 | 32 | SignalQualityMeasurement _signalQualityMeasurement; |
rosterloh84 | 1:cac9b2960637 | 33 | AnalogMeasurement _analogMeasurement; |
rosterloh84 | 1:cac9b2960637 | 34 | LocationUpdate _locationUpdate; |
rosterloh84 | 1:cac9b2960637 | 35 | }; |