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
device/DeviceMemory.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 | |
| rosterloh84 | 1:cac9b2960637 | 6 | /** |
| rosterloh84 | 1:cac9b2960637 | 7 | * Device Memory storage handler |
| rosterloh84 | 1:cac9b2960637 | 8 | */ |
| rosterloh84 | 1:cac9b2960637 | 9 | class DeviceMemory |
| rosterloh84 | 1:cac9b2960637 | 10 | { |
| rosterloh84 | 1:cac9b2960637 | 11 | public: |
| rosterloh84 | 1:cac9b2960637 | 12 | DeviceMemory(MDMSerial&); |
| rosterloh84 | 1:cac9b2960637 | 13 | |
| rosterloh84 | 1:cac9b2960637 | 14 | /** loads configuration from persistent memory */ |
| rosterloh84 | 1:cac9b2960637 | 15 | bool loadConfiguration(char*, size_t); |
| rosterloh84 | 1:cac9b2960637 | 16 | |
| rosterloh84 | 1:cac9b2960637 | 17 | /** saves configuration to persistent memory */ |
| rosterloh84 | 1:cac9b2960637 | 18 | bool saveConfiguration(char*); |
| rosterloh84 | 1:cac9b2960637 | 19 | |
| rosterloh84 | 1:cac9b2960637 | 20 | /** removes configuration from persistent memory */ |
| rosterloh84 | 1:cac9b2960637 | 21 | bool resetConfiguration(); |
| rosterloh84 | 1:cac9b2960637 | 22 | |
| rosterloh84 | 1:cac9b2960637 | 23 | private: |
| rosterloh84 | 1:cac9b2960637 | 24 | MDMSerial& _mdm; |
| rosterloh84 | 1:cac9b2960637 | 25 | }; |
Richard Osterloh
