zephyr/subsys/settings
Andrzej Puzdrowski 493ae365a8 settings: fix value-len-get while base64 is enabled
While base64 encoding was enabled settings_val_get_len_cb() returned
encoded length instead of decoded value length.

This patches introduce procedure which calculates the value length
properly. For that additional read of the end of the encoded value is
required for checking how many form last 3 value bytes wear encoded.

fixes #12122

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2019-01-09 08:40:00 -05:00
..
include/settings subsys/settings: stream-style encoding and decoding to/from storage 2018-12-11 11:22:16 +01:00
src settings: fix value-len-get while base64 is enabled 2019-01-09 08:40:00 -05:00
CMakeLists.txt
Kconfig settings: make base64 encoding optional 2018-12-11 11:22:16 +01:00