Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_co.c79 static const char *cache_key = "gattc_cache_key"; variable
200 if (nvs_set_blob(cache_env->addr_fp, cache_key, p_buf, length) != ESP_OK) { in cacheReset()
274 nvs_get_blob(cache_env->cache_addr[index].cache_fp, cache_key, NULL, &length); in bta_gattc_co_cache_load()
276 …esp_err_t err_code = nvs_get_blob(cache_env->cache_addr[index].cache_fp, cache_key, attr, &length); in bta_gattc_co_cache_load()
295 nvs_get_blob(cache_env->cache_addr[index].cache_fp, cache_key, NULL, &length); in bta_gattc_get_cache_attr_length()
327 esp_err_t err_code = nvs_set_blob(cache_env->cache_addr[index].cache_fp, cache_key, in bta_gattc_co_cache_save()
407 if ((err_code = nvs_get_blob(fp, cache_key, p_buf, &length)) != ESP_OK) { in bta_gattc_co_cache_addr_init()
555 if ((err_code = nvs_set_blob(cache_env->addr_fp, cache_key, p_buf, length)) != ESP_OK) { in bta_gattc_co_cache_addr_save()
561 … if (( err_code = nvs_set_blob(cache_env->addr_fp, cache_key, p_buf, length)) != ESP_OK) { in bta_gattc_co_cache_addr_save()