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
io/DeviceMemory.h
- Committer:
- xinlei
- Date:
- 2015-05-08
- Revision:
- 101:dbcd3bc51758
- Parent:
- 98:9f2de96941c4
File content as of revision 101:dbcd3bc51758:
#ifndef DEVICEMEMORY_H #define DEVICEMEMORY_H #include <stddef.h> /** loads credentials from persistent memory */ bool loadCredential(char *username, char *password, size_t len); /** saves credentials to persistent memory */ bool delCredential(); /** removes credentials from persistent memory */ bool saveCredential(char *username, char *password, size_t len); /** loads configuration from persistent memory */ bool loadConfigFile(char *cfg, size_t len); /** saves configuration to persistent memory */ bool saveConfigFile(char *cfg, size_t len); /** removes configuration from persistent memory */ bool delConfigFile(); #endif