35 #ifndef OT_PLATFORM_SETTINGS_H 36 #define OT_PLATFORM_SETTINGS_H 1 176 uint16_t *aValueLength);
282 #endif // OT_PLATFORM_SETTINGS_H This type represents all the static / global variables used by OpenThread allocated in one place...
Definition: openthread-instance.h:59
otError otPlatSettingsAdd(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength)
Adds a value to a setting.
This file defines the types and structures used in the OpenThread library API.
otError otPlatSettingsCommitChange(otInstance *aInstance)
Commit all settings changes since previous call to otPlatSettingsBeginChange()
void otPlatSettingsWipe(otInstance *aInstance)
Removes all settings from the setting store.
void otPlatSettingsInit(otInstance *aInstance)
Performs any initialization for the settings subsystem, if necessary.
otError otPlatSettingsSet(otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength)
Sets or replaces the value of a setting.
otError otPlatSettingsGet(otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16_t *aValueLength)
Fetches the value of a setting.
otError otPlatSettingsDelete(otInstance *aInstance, uint16_t aKey, int aIndex)
Removes a setting from the setting store.
otError otPlatSettingsAbandonChange(otInstance *aInstance)
Abandon all settings changes since previous call to otPlatSettingsBeginChange()
otError
This enumeration represents error codes used throughout OpenThread.
Definition: types.h:107
otError otPlatSettingsBeginChange(otInstance *aInstance)
Begin atomic change set.