Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Storage.h
00001 #ifndef STORAGE_H 00002 #define STORAGE_H 00003 00004 #include <stddef.h> 00005 00006 /** loads credentials from persistent memory */ 00007 bool loadCredential(char *tenant, char *username, char *password, size_t len); 00008 00009 /** saves credentials to persistent memory */ 00010 bool resetCredential(); 00011 00012 /** removes credentials from persistent memory */ 00013 bool saveCredential(const char *tenant, const char *username, 00014 const char *password, size_t len); 00015 00016 /** loads configuration from persistent memory */ 00017 bool loadConfigFile(char *cfg, size_t len); 00018 00019 /** saves configuration to persistent memory */ 00020 bool saveConfigFile(char *cfg, size_t len); 00021 00022 #endif
Generated on Sat Jul 16 2022 07:10:59 by 1.7.2