esp-idf/components/nvs_flash/host_test/nvs_host_test/main
Cody P Schafer f2af1c5305 nvs: support iteration over namespace by index
Users of the nvs API are likely to have `nvs_handle_t` in all cases, but
not all of them carry around the partition name and namespace name (as
they aren't needed after creating an `nvs_handle_t`).

Allow this common case to use nvs iteration without them tracking
additional data by using the `nvs_handle_t` to locate the namespace
index and the partition name by introducing an alterate to
`nvs_entry_find` called `nvs_entry_find_in_handle`, which operates
similarly except that it is given a `nvs_handle_t` instead of partition
and namespace strings.

This is somewhat more limited than the `nvs_entry_find` API as one
cannot examine all keys in a given partition.
2023-08-29 13:59:34 +02:00
..
CMakeLists.txt refactor(nvs_flash): Host test migrated to esp_partition emulation for linux 2023-08-09 14:14:21 +02:00
main.cpp nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation 2022-11-16 14:15:23 +01:00
test_fixtures.hpp refactor(nvs_flash): Host test migrated to esp_partition emulation for linux 2023-08-09 14:14:21 +02:00
test_nvs_cxx_api.cpp nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation 2022-11-16 14:15:23 +01:00
test_nvs_handle.cpp nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation 2022-11-16 14:15:23 +01:00
test_nvs_initialization.cpp nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation 2022-11-16 14:15:23 +01:00
test_nvs_storage.cpp nvs_flash/host_test: migrated to the CMake build system and nvs flash Linux implementation 2022-11-16 14:15:23 +01:00
test_nvs.cpp nvs: support iteration over namespace by index 2023-08-29 13:59:34 +02:00
test_partition_manager.cpp refactor(nvs_flash): Host test migrated to esp_partition emulation for linux 2023-08-09 14:14:21 +02:00