OVMS3-idf/components/nvs_flash/src
Ivan Grokhotkov a25a4a0a7c nvs: check value size before writing, document limitations
Writing values longer than half of the page size (with header taken into
account) causes fragmentation issues. Previously it was suggested on the
forum that using long values may cause issues, but this wasn’t checked
in the library itself, and wasn’t documented. This change adds necessary
checks and introduces the new error code.

Documentation is also fixed to reflect the fact that the maximum length
of the key is 15 characters, not 16.
2017-05-31 12:59:24 +08:00
..
compressed_enum_table.hpp components/nvs: make some methods const 2016-08-23 12:08:00 +08:00
intrusive_list.h Initial public version 2016-08-17 23:08:22 +08:00
nvs.hpp Initial public version 2016-08-17 23:08:22 +08:00
nvs_api.cpp phy_init: reduce the amount of hardwired logic, add coexist init 2016-11-18 20:11:17 +08:00
nvs_item_hash_list.cpp nvs: fix memory leaks in HashList and nvs_close 2016-10-26 12:25:53 +08:00
nvs_item_hash_list.hpp nvs: fix memory leaks in HashList and nvs_close 2016-10-26 12:25:53 +08:00
nvs_page.cpp nvs: check value size before writing, document limitations 2017-05-31 12:59:24 +08:00
nvs_page.hpp nvs: check value size before writing, document limitations 2017-05-31 12:59:24 +08:00
nvs_pagemanager.cpp nvs: check that storage has at least one free page 2017-03-14 22:03:39 +08:00
nvs_pagemanager.hpp components/nvs: fix formatting 2016-09-22 21:05:47 +08:00
nvs_platform.hpp nvs: allow nvs_flash_init to be called more than once 2016-11-18 20:11:16 +08:00
nvs_storage.cpp nvs: allow nvs_flash_init to be called more than once 2016-11-18 20:11:16 +08:00
nvs_storage.hpp nvs: allow nvs_flash_init to be called more than once 2016-11-18 20:11:16 +08:00
nvs_test_api.h nvs: allow nvs_flash_init to be called more than once 2016-11-18 20:11:16 +08:00
nvs_types.cpp components/nvs: maintain item hash list at page level 2016-09-21 18:02:52 +08:00
nvs_types.hpp components/nvs: fix formatting 2016-09-22 21:05:47 +08:00