zephyr/subsys/settings
Andrzej Puzdrowski 76553032b9 settings: fix read-out more than stored bug.
When setting read handler was requested for more
data than is stored, it should read reduced amount
of data (by the API define).

Back-end implementation support that, but not for corner-case
when the last call to back-end handler was out of data bounds.

This patch makes any request to read data which begins outside
of the record zero-length read-out, instead of being prohibited
before, which fix the issue.

Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
2019-02-12 21:15:12 -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 read-out more than stored bug. 2019-02-12 21:15:12 -05:00
CMakeLists.txt subsys: Add a new settings subsystem 2018-03-28 10:44:20 -04:00
Kconfig settings: make base64 encoding optional 2018-12-11 11:22:16 +01:00