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 Vincent Wochnik

io/DeviceMemory.h

Committer:
xinlei
Date:
2015-04-27
Revision:
98:9f2de96941c4
Parent:
97:ea056f6be2e8
Child:
101:dbcd3bc51758

File content as of revision 98:9f2de96941c4:

#ifndef DEVICEMEMORY_H
#define DEVICEMEMORY_H

#include <stddef.h>

/** 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();

#endif