ot::SettingsDriver::Add() method
Adds a value to @p aKey.
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 added. kErrorNoBufs Not enough space to store the value.
ot::SettingsDriver::Add() calls 2 functions:
![]()
ot::SettingsDriver::Add()
ot::SettingsDriver::Add():
![]()
ot::SettingsDriver::Add()