Home
last modified time | relevance | path

Searched refs:keyname (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-3.6.0/components/bt/common/osi/
Dconfig.c346 char *keyname = osi_calloc(keyname_bufsz); in get_config_size_from_flash() local
347 if (!keyname){ in get_config_size_from_flash()
354 snprintf(keyname, keyname_bufsz, "%s%d", CONFIG_KEY, 0); in get_config_size_from_flash()
355 err = nvs_get_blob(fp, keyname, NULL, &length); in get_config_size_from_flash()
357 osi_free(keyname); in get_config_size_from_flash()
362 osi_free(keyname); in get_config_size_from_flash()
368 snprintf(keyname, keyname_bufsz, "%s%d", CONFIG_KEY, ++i); in get_config_size_from_flash()
369 err = nvs_get_blob(fp, keyname, NULL, &length); in get_config_size_from_flash()
376 osi_free(keyname); in get_config_size_from_flash()
381 osi_free(keyname); in get_config_size_from_flash()
[all …]
/hal_espressif-3.6.0/components/nvs_flash/test_nvs_host/
Dtest_nvs.cpp235 char keyname[10] = {0}; variable
237 strncpy(keyname, "i1", sizeof(keyname) - 1);
238 TEST_ESP_OK(page.readItem(1, keyname, value));
240 strncpy(keyname, "i2", sizeof(keyname) - 1);
241 TEST_ESP_OK(page.readItem(1, keyname, value));