Official reference client implementation for Cumulocity SmartREST on u-blox C027.
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: io/DeviceMemory.h
- Revision:
- 98:9f2de96941c4
- Parent:
- 97:ea056f6be2e8
- Child:
- 101:dbcd3bc51758
--- a/io/DeviceMemory.h Mon Apr 27 13:02:50 2015 +0000 +++ b/io/DeviceMemory.h Mon Apr 27 13:30:21 2015 +0000 @@ -3,33 +3,22 @@ #include <stddef.h> -/** - * Device Memory storage handler - */ -class DeviceMemory -{ -public: - DeviceMemory() {} - - /** loads credentials from persistent memory */ - bool loadPlatformCredentials(char*, char*, size_t); - - /** saves credentials to persistent memory */ - bool savePlatformCredentials(char*, char*, size_t); - - /** removes credentials from persistent memory */ - bool resetPlatformCredentials(); - - /** 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(); +/** loads credentials from persistent memory */ +bool loadPlatformCredentials(char*, char*, size_t); + +/** saves credentials to persistent memory */ +bool savePlatformCredentials(char*, char*, size_t); + +/** removes credentials from persistent memory */ +bool resetPlatformCredentials(); -private: -}; +/** 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(); #endif \ No newline at end of file