Lines Matching refs:handle_1

55     nvs_handle_t handle_1;  variable
64 TEST_ESP_OK(nvs_open("deinit_ns", NVS_READWRITE, &handle_1));
70 nvs_handle_t handle_1; variable
79 TEST_ESP_ERR(ESP_ERR_NVS_NOT_FOUND, nvs_open("test_namespace1", NVS_READONLY, &handle_1));
81 TEST_ESP_ERR(ESP_ERR_NVS_INVALID_HANDLE, nvs_set_i32(handle_1, "foo", 0x12345678));
82 nvs_close(handle_1);
84 TEST_ESP_OK(nvs_open("test_namespace2", NVS_READWRITE, &handle_1));
85 TEST_ESP_OK(nvs_erase_all(handle_1));
86 TEST_ESP_OK(nvs_set_i32(handle_1, "foo", 0x12345678));
87 TEST_ESP_OK(nvs_set_i32(handle_1, "foo", 0x23456789));
97 TEST_ESP_OK(nvs_get_i32(handle_1, "foo", &v1));
111 nvs_close(handle_1);
162 nvs_handle_t handle_1; variable
163 TEST_ESP_OK(nvs_open("test_k1", NVS_READWRITE, &handle_1));
171 TEST_ESP_OK(nvs_set_i32(handle_1, "com", 0x12345678));
179 TEST_ESP_OK(nvs_set_i32(handle_1, "com", 0x01234567));
187 TEST_ESP_OK(nvs_set_i32(handle_1, "ru", 0x00FF00FF));
196 TEST_ESP_OK(nvs_get_used_entry_count(handle_1, &h1_count_entries));
227 nvs_close(handle_1);
231 TEST_ESP_ERR(ESP_ERR_NVS_INVALID_HANDLE, nvs_get_used_entry_count(handle_1, &h2_count_entries));
234 TEST_ESP_ERR(ESP_ERR_INVALID_ARG, nvs_get_used_entry_count(handle_1, NULL));
393 nvs_handle_t handle_1; variable
395 TEST_ESP_ERR(ESP_ERR_NVS_NOT_FOUND, nvs_open("namespace1", NVS_READONLY, &handle_1));
398 TEST_ESP_OK(nvs_open("namespace1", NVS_READWRITE, &handle_1));
400 TEST_ESP_OK(nvs_set_i32(handle_1, "foo", 0x12345678));
401 TEST_ESP_OK(nvs_set_i32(handle_1, "foo", 0x23456789));
410 TEST_ESP_OK(nvs_get_i32(handle_1, "foo", &v1));
436 nvs_close(handle_1);