Searched refs:cache_key (Results 1 – 1 of 1) sorted by relevance
/hal_espressif-latest/components/bt/host/bluedroid/bta/gatt/ |
D | bta_gattc_co.c | 79 static const char *cache_key = "gattc_cache_key"; variable 207 if (nvs_set_blob(cache_env->addr_fp, cache_key, p_buf, length) != ESP_OK) { in cacheReset() 281 nvs_get_blob(cache_env->cache_addr[index].cache_fp, cache_key, NULL, &length); in bta_gattc_co_cache_load() 283 …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() 302 nvs_get_blob(cache_env->cache_addr[index].cache_fp, cache_key, NULL, &length); in bta_gattc_get_cache_attr_length() 334 esp_err_t err_code = nvs_set_blob(cache_env->cache_addr[index].cache_fp, cache_key, in bta_gattc_co_cache_save() 414 if ((err_code = nvs_get_blob(fp, cache_key, p_buf, &length)) != ESP_OK) { in bta_gattc_co_cache_addr_init() 571 if ((err_code = nvs_set_blob(cache_env->addr_fp, cache_key, p_buf, length)) != ESP_OK) { in bta_gattc_co_cache_addr_save() 577 … if (( err_code = nvs_set_blob(cache_env->addr_fp, cache_key, p_buf, length)) != ESP_OK) { in bta_gattc_co_cache_addr_save()
|