Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[nrf toup] simplify Key/Value Get function #577

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

rghaddab
Copy link

use settings_load_one function to load one key/value settings entry instead of settings_load_subtree_direct.
This will avoid loading all the keys for some storage backends. Simplify as well the Delete function by skipping loading the value before deleting it.

Add following line to test this PR against different NCS revision:
NCS PR: nrfconnect/sdk-nrf/pull/

use settings_load_one function to load one key/value settings entry
instead of settings_load_subtree_direct.
This will avoid loading all the keys for some storage backends.
Simplify as well the Delete function by skipping loading the value
before deleting it.

Signed-off-by: Riadh Ghaddab <rghaddab@baylibre.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant