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/Storage.h
- Revision:
- 113:3872569be2af
- Parent:
- 111:ee9ae4a5e55c
--- a/io/Storage.h Fri May 15 10:14:05 2015 +0000 +++ b/io/Storage.h Fri May 15 14:07:51 2015 +0000 @@ -4,13 +4,14 @@ #include <stddef.h> /** loads credentials from persistent memory */ -bool loadCredential(char *username, char *password, size_t len); +bool loadCredential(char *tenant, 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); +bool saveCredential(const char *tenant, const char *username, + const char *password, size_t len); /** loads configuration from persistent memory */ bool loadConfigFile(char *cfg, size_t len);