fix(nimble): Modify GATT data storage structure in NVS during gatt caching

This commit is contained in:
Astha Verma
2025-09-26 18:56:11 +05:30
committed by Rahul Tank
parent e362f90277
commit eaddb805e7
2 changed files with 3 additions and 1 deletions
@@ -32,9 +32,11 @@ link_storage_fn(void *storage_cb)
struct cache_fn_mapping cache_fn;
cache_fn.open = nvs_open_custom;
cache_fn.close = nvs_close;
cache_fn.erase_key_item = nvs_erase_key;
cache_fn.erase_all = nvs_erase_all;
cache_fn.write = nvs_set_blob;
cache_fn.read = nvs_get_blob;
cache_fn.commit = nvs_commit;
return cache_fn;
}
#endif