mirror of
https://github.com/espressif/esp-idf
synced 2025-03-10 01:29:21 -04:00
feature(nvs_flash) : added support iteration over namespace by index - review changes
This commit is contained in:
parent
92ff04ebea
commit
f693b78f93
@ -707,7 +707,8 @@ esp_err_t nvs_entry_find(const char *part_name,
|
||||
* - ESP_OK if no internal error or programming error occurred.
|
||||
* - ESP_ERR_NVS_NOT_FOUND if no element of specified criteria has been found.
|
||||
* - ESP_ERR_NO_MEM if memory has been exhausted during allocation of internal structures.
|
||||
* - ESP_ERR_INVALID_ARG if any of the parameters is NULL.
|
||||
* - ESP_ERR_NVS_INVALID_HANDLE if unknown handle was specified.
|
||||
* - ESP_ERR_INVALID_ARG if output_iterator parameter is NULL.
|
||||
* Note: don't release \c output_iterator in case ESP_ERR_INVALID_ARG has been returned
|
||||
*/
|
||||
esp_err_t nvs_entry_find_in_handle(nvs_handle_t handle, nvs_type_t type, nvs_iterator_t *output_iterator);
|
||||
|
@ -125,9 +125,9 @@ public:
|
||||
|
||||
esp_err_t calcEntriesInNamespace(uint8_t nsIndex, size_t& usedEntries);
|
||||
|
||||
bool findEntry(nvs_opaque_iterator_t*, const char* name);
|
||||
bool findEntry(nvs_opaque_iterator_t* it, const char* name);
|
||||
|
||||
bool findEntryNs(nvs_opaque_iterator_t*, uint8_t nsIndex);
|
||||
bool findEntryNs(nvs_opaque_iterator_t* it, uint8_t nsIndex);
|
||||
|
||||
bool nextEntry(nvs_opaque_iterator_t* it);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user