0.01.00
settings.h File Reference

This file includes platform abstraction for non-volatile storage of settings. More...

#include <openthread/types.h>

Go to the source code of this file.

Functions

void otPlatSettingsInit (otInstance *aInstance)
 Performs any initialization for the settings subsystem, if necessary. More...
 
otError otPlatSettingsBeginChange (otInstance *aInstance)
 Begin atomic change set. More...
 
otError otPlatSettingsCommitChange (otInstance *aInstance)
 Commit all settings changes since previous call to otPlatSettingsBeginChange() More...
 
otError otPlatSettingsAbandonChange (otInstance *aInstance)
 Abandon all settings changes since previous call to otPlatSettingsBeginChange() More...
 
otError otPlatSettingsGet (otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16_t *aValueLength)
 Fetches the value of a setting. More...
 
otError otPlatSettingsSet (otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength)
 Sets or replaces the value of a setting. More...
 
otError otPlatSettingsAdd (otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength)
 Adds a value to a setting. More...
 
otError otPlatSettingsDelete (otInstance *aInstance, uint16_t aKey, int aIndex)
 Removes a setting from the setting store. More...
 
void otPlatSettingsWipe (otInstance *aInstance)
 Removes all settings from the setting store. More...
 

Detailed Description

This file includes platform abstraction for non-volatile storage of settings.