35 #ifndef CASCODA_SETTINGS_H
36 #define CASCODA_SETTINGS_H
132 uint16_t *aValueLength);
234 uint16_t *aValueLength);
The main ca821x-api include file.
ca_error
Cascoda error type.
Definition: ca821x_error.h:51
void caUtilSettingsWipe(struct ca821x_dev *aInstance, const char *aApplicationName, uint32_t aNodeId)
Removes all settings from the setting store.
Definition: cascoda_settings.c:632
void caUtilSettingsInit(struct ca821x_dev *aInstance, const char *aApplicationName, uint32_t aNodeId)
Performs any initialization for the settings subsystem, if necessary.
Definition: cascoda_settings.c:372
void caUtilSettingsDeinit(struct ca821x_dev *aInstance)
Performs any de-initialization for the settings subsystem, if necessary.
Definition: cascoda_settings.c:447
ca_error caUtilSettingsAddVector(struct ca821x_dev *aInstance, uint16_t aKey, struct settingBuffer *aVector, size_t aCount)
Add a vector of buffers to the storage.
Definition: cascoda_settings.c:569
ca_error caUtilSettingsGet(struct ca821x_dev *aInstance, uint16_t aKey, int aIndex, uint8_t *aValue, uint16_t *aValueLength)
This function fetches the value of the setting identified by aKey and write it to the memory pointed ...
Definition: cascoda_settings.c:493
ca_error caUtilSettingsSet(struct ca821x_dev *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength)
Sets or replaces the value of a setting.
Definition: cascoda_settings.c:549
ca_error caUtilSettingsDelete(struct ca821x_dev *aInstance, uint16_t aKey, int aIndex)
Removes a setting from the setting store.
Definition: cascoda_settings.c:581
ca_error caUtilSettingsAdd(struct ca821x_dev *aInstance, uint16_t aKey, const uint8_t *aValue, uint16_t aValueLength)
Adds a value to a setting This function adds the value to a setting identified by aKey,...
Definition: cascoda_settings.c:556
ca_error caUtilSettingsGetAddress(struct ca821x_dev *aInstance, uint16_t aKey, int aIndex, void **aValue, uint16_t *aValueLength)
Get the address at which a particular setting is stored.
Definition: cascoda_settings.c:528
CA-821x Device reference struct.
Definition: ca821x_api.h:123
Data structure for vectored I/O using caUtilSettingsAddVector.
Definition: cascoda_settings.h:56
const uint8_t * value
Pointer to the data to write to settings.
Definition: cascoda_settings.h:57
uint16_t length
Length of the data to write to settings.
Definition: cascoda_settings.h:58