ot::SettingsDriver::Set() method
Sets or replaces the value identified by @p aKey. If there was more than one value previously associated with @p aKey, then they are all deleted and replaced with this single entry.
Arguments
aKey
The key associated with the value.
aValue
A pointer to where the new value of the setting should be read from. MUST NOT be `nullptr` if @p aValueLength is non-zero.
aValueLength
The length of the data pointed to by @p aValue. May be zero.
Return value
kErrorNone The value was changed. kErrorNoBufs Not enough space to store the value.
ot::SettingsDriver::Set() calls 2 functions:
![]()
ot::SettingsDriver::Set()
ot::SettingsDriver::Set():
![]()
ot::SettingsDriver::Set()