Searched refs:my_handle (Results 1 – 5 of 5) sorted by relevance
/hal_espressif-3.6.0/examples/storage/nvs_rw_blob/main/ |
D | nvs_blob_example_main.c | 36 nvs_handle_t my_handle; in save_restart_counter() local 40 err = nvs_open(STORAGE_NAMESPACE, NVS_READWRITE, &my_handle); in save_restart_counter() 45 err = nvs_get_i32(my_handle, "restart_conter", &restart_counter); in save_restart_counter() 50 err = nvs_set_i32(my_handle, "restart_conter", restart_counter); in save_restart_counter() 57 err = nvs_commit(my_handle); in save_restart_counter() 61 nvs_close(my_handle); in save_restart_counter() 73 nvs_handle_t my_handle; in save_run_time() local 77 err = nvs_open(STORAGE_NAMESPACE, NVS_READWRITE, &my_handle); in save_run_time() 82 err = nvs_get_blob(my_handle, "run_time", NULL, &required_size); in save_run_time() 88 err = nvs_get_blob(my_handle, "run_time", run_time, &required_size); in save_run_time() [all …]
|
/hal_espressif-3.6.0/examples/storage/nvs_rw_value/main/ |
D | nvs_value_example_main.c | 34 nvs_handle_t my_handle; in app_main() local 35 err = nvs_open("storage", NVS_READWRITE, &my_handle); in app_main() 44 err = nvs_get_i32(my_handle, "restart_counter", &restart_counter); in app_main() 60 err = nvs_set_i32(my_handle, "restart_counter", restart_counter); in app_main() 68 err = nvs_commit(my_handle); in app_main() 72 nvs_close(my_handle); in app_main()
|
/hal_espressif-3.6.0/components/nvs_flash/test/ |
D | test_nvs.c | 277 nvs_handle_t my_handle; variable 280 TEST_ESP_OK( nvs_open("leak_check_ns", NVS_READWRITE, &my_handle) ); 281 TEST_ESP_OK( nvs_set_blob(my_handle, "key", key, sizeof(key)) ); 282 TEST_ESP_OK( nvs_commit(my_handle) ); 283 nvs_close(my_handle);
|
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/ |
D | test_nvs.cpp | 909 nvs_handle_t my_handle; variable 924 TEST_ESP_OK(nvs_open(NAMESPACE, NVS_READWRITE, &my_handle)); 925 TEST_ESP_OK(nvs_set_str(my_handle, "test-string", "InitString0")); 926 TEST_ESP_OK(nvs_commit(my_handle)); 927 nvs_close(my_handle);
|
/hal_espressif-3.6.0/docs/en/contribute/ |
D | documenting-code.rst | 94 * esp_err_t err = nvs_get_i32(my_handle, "max_buffer_size", &max_buffer_size);
|