Home
last modified time | relevance | path

Searched refs:ESP_ERR_NVS_NOT_FOUND (Results 1 – 20 of 20) sorted by relevance

/hal_espressif-3.4.0/examples/storage/nvs_rw_blob/main/
Dnvs_blob_example_main.c46 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) return err; in save_restart_counter()
83 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) return err; in save_run_time()
129 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) return err; in print_what_saved()
136 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) return err; in print_what_saved()
/hal_espressif-3.4.0/components/nvs_flash/src/
Dnvs_storage.cpp158 return ESP_ERR_NVS_NOT_FOUND; in findItem()
280 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) { in writeItem()
332 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) { in writeItem()
400 return ESP_ERR_NVS_NOT_FOUND; in createOrOpenNamespace()
458 if (err == ESP_ERR_NVS_NOT_FOUND) { in readMultiPageBlob()
473 if (err == ESP_ERR_NVS_NOT_FOUND) { in readMultiPageBlob()
503 if (err == ESP_ERR_NVS_NOT_FOUND) { in cmpMultiPageBlob()
531 if (err != ESP_ERR_NVS_NOT_FOUND) { in readItem()
574 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) { in eraseMultiPageBlob()
576 } else if (err == ESP_ERR_NVS_NOT_FOUND) { in eraseMultiPageBlob()
[all …]
Dnvs_page.cpp312 return ESP_ERR_NVS_NOT_FOUND; in readItem()
363 return ESP_ERR_NVS_NOT_FOUND; in cmpItem()
463 return ESP_ERR_NVS_NOT_FOUND; in copyItems()
811 return ESP_ERR_NVS_NOT_FOUND; in findItem()
816 return ESP_ERR_NVS_NOT_FOUND; in findItem()
834 return ESP_ERR_NVS_NOT_FOUND; in findItem()
905 return ESP_ERR_NVS_NOT_FOUND; in findItem()
Dnvs_pagemanager.cpp116 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) { in load()
184 if (err != ESP_OK && err != ESP_ERR_NVS_NOT_FOUND) { in requestNewPage()
/hal_espressif-3.4.0/components/nvs_flash/test_nvs_host/
Dtest_nvs.cpp421 CHECK(page.findItem(1, itemTypeOf<int>(), "bar") == ESP_ERR_NVS_NOT_FOUND);
502 CHECK(storage.createOrOpenNamespace("wifi", false, nsi) == ESP_ERR_NVS_NOT_FOUND);
581 CHECK(storage.readItem(2, "foo", val) == ESP_ERR_NVS_NOT_FOUND);
582 CHECK(storage.readItem(3, "key00222", val) == ESP_ERR_NVS_NOT_FOUND);
605 CHECK(nvs_open("just_kidding", NVS_READONLY, &handle_2) == ESP_ERR_NVS_NOT_FOUND);
662 TEST_ESP_ERR(nvs_open("namespace1", NVS_READONLY, &handle_1), ESP_ERR_NVS_NOT_FOUND);
963 TEST_ESP_ERR(nvs_get_str(misc_handle, "log", log, &log_size), ESP_ERR_NVS_NOT_FOUND);
971 TEST_ESP_ERR(nvs_get_u8(net80211_handle, "wifi.opmode", &opmode), ESP_ERR_NVS_NOT_FOUND);
976 TEST_ESP_ERR(nvs_get_u8(net80211_handle, "wifi.country", &opmode), ESP_ERR_NVS_NOT_FOUND);
981 TEST_ESP_ERR(nvs_get_blob(net80211_handle, "sta.ssid", ssid, &size), ESP_ERR_NVS_NOT_FOUND);
[all …]
/hal_espressif-3.4.0/examples/bluetooth/esp_ble_mesh/common_components/example_nvs/
Dble_mesh_example_nvs.c74 if (err == ESP_ERR_NVS_NOT_FOUND) { in ble_mesh_nvs_get_length()
99 if (err == ESP_ERR_NVS_NOT_FOUND) { in ble_mesh_nvs_restore()
127 if (err == ESP_ERR_NVS_NOT_FOUND) { in ble_mesh_nvs_erase()
/hal_espressif-3.4.0/components/nvs_flash/host_test/nvs_page_test/main/
Dnvs_page_test.cpp327 …TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, fix.page.readItem(NVSValidPageFixture::NS_INDEX, "test_va… in test_Page_readItem__read_corrupted_entry()
502 TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, fix.page.readItem(NVSValidPageFixture::NS_INDEX, in test_Page_readItem__blob_corrupt_data()
560 TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, fix.page.cmpItem(uint8_t(1), "different", 47)); in test_Page_cmp__item_not_found()
650 …TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, page.eraseItem<uint8_t>(NVSValidPageFixture::NS_INDEX, "t… in test_Page_eraseItem__uninitialized()
661 …TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, fix.page.eraseItem<uint8_t>(NVSValidPageFixture::NS_INDEX… in test_Page_eraseItem__key_not_found()
731 TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, in test_Page_findItem__uninitialized()
741 TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, in test_Page_find__wrong_ns()
765 TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, in test_Page_find__key_empty()
775 TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, in test_Page_find__wrong_key()
785 TEST_ASSERT_EQUAL(ESP_ERR_NVS_NOT_FOUND, in test_Page_find__too_large_index()
[all …]
/hal_espressif-3.4.0/zephyr/esp32/include/
Desp_nvs_adapter.h10 #define ESP_ERR_NVS_NOT_FOUND (ESP_ERR_NVS_BASE + 0x02) /*!< Id namespace doesn’t ex… macro
38 if (rc == -ENOENT) return ESP_ERR_NVS_NOT_FOUND; in esp_get_nvs_error()
/hal_espressif-3.4.0/zephyr/esp32s3/include/
Desp_nvs_adapter.h10 #define ESP_ERR_NVS_NOT_FOUND (ESP_ERR_NVS_BASE + 0x02) /*!< Id namespace doesn’t ex… macro
38 if (rc == -ENOENT) return ESP_ERR_NVS_NOT_FOUND; in esp_get_nvs_error()
/hal_espressif-3.4.0/components/bt/esp_ble_mesh/mesh_core/storage/
Dsettings_nvs.c232 if (err == ESP_ERR_NVS_NOT_FOUND) { in settings_save()
307 if (err == ESP_ERR_NVS_NOT_FOUND) { in settings_load()
359 if (err != ESP_ERR_NVS_NOT_FOUND) { in settings_get_length()
600 if (err == ESP_ERR_NVS_NOT_FOUND) { in bt_mesh_settings_erase_key()
/hal_espressif-3.4.0/components/bt/common/osi/
Dconfig.c356 if (err == ESP_ERR_NVS_NOT_FOUND) { in get_config_size_from_flash()
371 if (err == ESP_ERR_NVS_NOT_FOUND) { in get_config_size_from_flash()
565 if (err == ESP_ERR_NVS_NOT_FOUND) { in config_parse()
578 if (err == ESP_ERR_NVS_NOT_FOUND) { in config_parse()
/hal_espressif-3.4.0/examples/storage/nvs_rw_value/main/
Dnvs_value_example_main.c50 case ESP_ERR_NVS_NOT_FOUND: in app_main()
/hal_espressif-3.4.0/examples/storage/nvs_rw_value_cxx/main/
Dnvs_value_example_main.cpp52 case ESP_ERR_NVS_NOT_FOUND: in app_main()
/hal_espressif-3.4.0/examples/system/ulp_fsm/ulp/main/
Dulp_example_main.c105 assert(err == ESP_OK || err == ESP_ERR_NVS_NOT_FOUND); in update_pulse_count()
/hal_espressif-3.4.0/components/esp_common/src/
Desp_err_to_name.c128 # ifdef ESP_ERR_NVS_NOT_FOUND
129 …ERR_TBL_IT(ESP_ERR_NVS_NOT_FOUND), /* 4354 0x1102 Id namespace doesn’t e…
/hal_espressif-3.4.0/docs/en/contribute/
Ddocumenting-code.rst74 * - ESP_ERR_NVS_NOT_FOUND if the requested key doesn't exist
95 * assert(err == ESP_OK || err == ESP_ERR_NVS_NOT_FOUND);
96 * // if ESP_ERR_NVS_NOT_FOUND was returned, max_buffer_size will still
/hal_espressif-3.4.0/components/nvs_flash/include/
Dnvs.h31 #define ESP_ERR_NVS_NOT_FOUND (ESP_ERR_NVS_BASE + 0x02) /*!< Id namespace doesn’t ex… macro
/hal_espressif-3.4.0/components/nvs_flash/test/
Dtest_nvs.c79 TEST_ESP_ERR(ESP_ERR_NVS_NOT_FOUND, nvs_open("test_namespace1", NVS_READONLY, &handle_1));
395 TEST_ESP_ERR(ESP_ERR_NVS_NOT_FOUND, nvs_open("namespace1", NVS_READONLY, &handle_1));
/hal_espressif-3.4.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_co.c408 if(err_code != ESP_ERR_NVS_NOT_FOUND) { in bta_gattc_co_cache_addr_init()
/hal_espressif-3.4.0/components/app_update/test/
Dtest_switch_ota.c494 TEST_ESP_ERR(ESP_ERR_NVS_NOT_FOUND, nvs_get_i32(handle, "boot_count", &boot_count_nvs)); in test_flow4()