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
Diff: device/DeviceMemory.h
- Revision:
- 1:cac9b2960637
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/device/DeviceMemory.h Sun Feb 15 22:04:12 2015 +0000 @@ -0,0 +1,25 @@ +#pragma once + +#include <stddef.h> +#include "MDM.h" + +/** + * Device Memory storage handler + */ +class DeviceMemory +{ +public: + DeviceMemory(MDMSerial&); + + /** loads configuration from persistent memory */ + bool loadConfiguration(char*, size_t); + + /** saves configuration to persistent memory */ + bool saveConfiguration(char*); + + /** removes configuration from persistent memory */ + bool resetConfiguration(); + +private: + MDMSerial& _mdm; +};