![]() |
![]() |
TI-OpenThread
1.08.06.06
|
#include <stdlib.h>
#include <stddef.h>
#include <assert.h>
#include <openthread-core-config.h>
#include <openthread/platform/settings.h>
#include "nv/nvintf.h"
#include "nv/nvocmp.h"
Macros | |
#define | SUBIDMAX ((2 << 10) - 1) |
Functions | |
otError | otPlatSettingsAbandonChange (otInstance *aInstance) |
otError | otPlatSettingsAdd (otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength) |
otError | otPlatSettingsBeginChange (otInstance *aInstance) |
otError | otPlatSettingsCommitChange (otInstance *aInstance) |
otError | otPlatSettingsDelete (otInstance *aInstance, uint16_t aKey, int aIndex) |
otError | otPlatSettingsGet (otInstance *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16_t *aValueLength) |
void | otPlatSettingsInit (otInstance *aInstance) |
otError | otPlatSettingsSet (otInstance *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength) |
void | otPlatSettingsWipe (otInstance *aInstance) |
Variables | |
static NVINTF_nvFuncts_t | sNvoctpFps = { 0 } |
#define SUBIDMAX ((2 << 10) - 1) |
Referenced by otPlatSettingsAdd().
void otPlatSettingsInit | ( | otInstance * | aInstance | ) |
References nvintf_nvfuncts_t::initNV, and NVOCMP_loadApiPtrsExt().
otError otPlatSettingsBeginChange | ( | otInstance * | aInstance | ) |
otError otPlatSettingsCommitChange | ( | otInstance * | aInstance | ) |
otError otPlatSettingsAbandonChange | ( | otInstance * | aInstance | ) |
otError otPlatSettingsGet | ( | otInstance * | aInstance, |
uint16_t | aKey, | ||
int | aIndex, | ||
uint8_t * | aValue, | ||
uint16_t * | aValueLength | ||
) |
References nvintf_nvfuncts_t::doNext, nvintf_nvproxy_t::flag, nvintf_nvfuncts_t::getItemLen, nvintf_itemid_t::itemID, nvintf_nvproxy_t::itemid, nvintf_nvfuncts_t::lockNV, NVINTF_DOFIND, NVINTF_DOITMID, NVINTF_DOSTART, NVINTF_NOTFOUND, NVINTF_SUCCESS, NVINTF_SYSID_TIOP, nvintf_nvfuncts_t::readItem, nvintf_itemid_t::subID, nvintf_nvproxy_t::subid, nvintf_nvproxy_t::sysid, nvintf_itemid_t::systemID, and nvintf_nvfuncts_t::unlockNV.
otError otPlatSettingsSet | ( | otInstance * | aInstance, |
uint16_t | aKey, | ||
const uint8_t * | aValue, | ||
uint16_t | aValueLength | ||
) |
References nvintf_nvfuncts_t::doNext, nvintf_nvproxy_t::flag, nvintf_itemid_t::itemID, nvintf_nvproxy_t::itemid, nvintf_nvfuncts_t::lockNV, NVINTF_DODELETE, NVINTF_DOITMID, NVINTF_DOSTART, NVINTF_SUCCESS, NVINTF_SYSID_TIOP, nvintf_itemid_t::subID, nvintf_nvproxy_t::sysid, nvintf_itemid_t::systemID, nvintf_nvfuncts_t::unlockNV, and nvintf_nvfuncts_t::writeItem.
otError otPlatSettingsAdd | ( | otInstance * | aInstance, |
uint16_t | aKey, | ||
const uint8_t * | aValue, | ||
uint16_t | aValueLength | ||
) |
References nvintf_nvfuncts_t::doNext, nvintf_nvproxy_t::flag, nvintf_nvfuncts_t::getItemLen, nvintf_itemid_t::itemID, nvintf_nvproxy_t::itemid, nvintf_nvfuncts_t::lockNV, NVINTF_DOFIND, NVINTF_DOITMID, NVINTF_DOSTART, NVINTF_SUCCESS, NVINTF_SYSID_TIOP, nvintf_itemid_t::subID, nvintf_nvproxy_t::subid, SUBIDMAX, nvintf_nvproxy_t::sysid, nvintf_itemid_t::systemID, nvintf_nvfuncts_t::unlockNV, and nvintf_nvfuncts_t::writeItem.
otError otPlatSettingsDelete | ( | otInstance * | aInstance, |
uint16_t | aKey, | ||
int | aIndex | ||
) |
References nvintf_nvfuncts_t::deleteItem, nvintf_nvfuncts_t::doNext, nvintf_nvproxy_t::flag, nvintf_itemid_t::itemID, nvintf_nvproxy_t::itemid, nvintf_nvfuncts_t::lockNV, NVINTF_DODELETE, NVINTF_DOFIND, NVINTF_DOITMID, NVINTF_DOSTART, NVINTF_SUCCESS, NVINTF_SYSID_TIOP, nvintf_itemid_t::subID, nvintf_nvproxy_t::subid, nvintf_nvproxy_t::sysid, nvintf_itemid_t::systemID, and nvintf_nvfuncts_t::unlockNV.
void otPlatSettingsWipe | ( | otInstance * | aInstance | ) |
|
static |