Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/bt/host/bluedroid/bta/gatt/
Dbta_gattc_co.c80 static const char *cache_addr = "cache_addr_tab"; variable
96 cache_addr_info_t cache_addr[MAX_DEVICE_IN_CACHE]; member
111 if (cache_env->cache_addr[index].is_open) { in cacheClose()
112 nvs_close(cache_env->cache_addr[index].cache_fp); in cacheClose()
113 cache_env->cache_addr[index].is_open = FALSE; in cacheClose()
127 if (cache_env->cache_addr[*index].is_open) { in cacheOpen()
130 memcpy(hash_key, cache_env->cache_addr[*index].hash_key, sizeof(hash_key_t)); in cacheOpen()
132 …if ((status = nvs_open(fname, NVS_READWRITE, &cache_env->cache_addr[*index].cache_fp)) == ESP_OK) { in cacheOpen()
134 cache_env->cache_addr[*index].is_open = TRUE; in cacheOpen()
151 if (cache_env->cache_addr[index].is_open) { in cacheReset()
[all …]