ot::Settings::AddOrUpdateBrOnLinkPrefix() method
Adds or updates an on-link prefix. If there is no matching entry (matching the same `GetPrefix()`) saved in `Settings`, the new entry will be added. If there is matching entry, it will be updated to the new @p aPrefix.
Arguments
aBrOnLinkPrefix
The on-link prefix to save (add or updated).
Return value
kErrorNone Successfully added or updated the entry in settings. kErrorNotImplemented The platform does not implement settings functionality.
ot::Settings::AddOrUpdateBrOnLinkPrefix() calls 5 functions:
![]()
ot::Settings::AddOrUpdateBrOnLinkPrefix()
ot::Settings::AddOrUpdateBrOnLinkPrefix() reads 2 variables:
![]()
ot::Settings::AddOrUpdateBrOnLinkPrefix()