zephyr/subsys/settings/src
Andrzej Puzdrowski 523acef71c settings: fix key-value duplication check
Whenever a new key-value is about to be stored, the settings
perform check whether the value really changes. This check
after #9521 patch should work differently as `\0` is not
the value terminator anymore. Because of above any value which
starts from \0 will be treated mistakenly as a NULL.

This patch uses check-length callback instead read-callback which
fix the issue and simplify the code a little.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2018-12-12 12:51:12 +01:00
..
CMakeLists.txt cmake: settings: Don't add ext nffs include dir to global includes 2018-07-25 08:27:45 -04:00
settings_fcb.c settings: add API for check value size 2018-12-11 11:22:16 +01:00
settings_file.c settings: add API for check value size 2018-12-11 11:22:16 +01:00
settings_init.c subsys/settings: stream-style encoding and decoding to/from storage 2018-12-11 11:22:16 +01:00
settings_line.c settings: add API for check value size 2018-12-11 11:22:16 +01:00
settings_priv.h settings: add API for check value size 2018-12-11 11:22:16 +01:00
settings_store.c settings: fix key-value duplication check 2018-12-12 12:51:12 +01:00
settings.c settings: add API for check value size 2018-12-11 11:22:16 +01:00