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/Storage.h
- Committer:
- xinlei
- Date:
- 2015-05-15
- Revision:
- 111:ee9ae4a5e55c
- Parent:
- 104:a3703ca4a4a4
- Child:
- 113:3872569be2af
File content as of revision 111:ee9ae4a5e55c:
#ifndef STORAGE_H #define STORAGE_H #include <stddef.h> /** loads credentials from persistent memory */ bool loadCredential(char *username, char *password, size_t len); /** saves credentials to persistent memory */ bool resetCredential(); /** 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); #endif