Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/storage/
Dsettings_nvs.h25 typedef nvs_handle_t bt_mesh_nvs_handle_t; typedef
33 int bt_mesh_settings_nvs_open(const char* name, bt_mesh_nvs_handle_t *handle);
34 void bt_mesh_settings_nvs_close(bt_mesh_nvs_handle_t handle);
39 int bt_mesh_settings_direct_open(bt_mesh_nvs_handle_t *handle);
42 int bt_mesh_save_settings(bt_mesh_nvs_handle_t handle, const char *key,
47 int bt_mesh_erase_settings(bt_mesh_nvs_handle_t handle, const char *key);
51 int bt_mesh_load_settings(bt_mesh_nvs_handle_t handle, const char *key,
56 struct net_buf_simple *bt_mesh_get_settings_item(bt_mesh_nvs_handle_t handle, const char *key);
60 int bt_mesh_add_settings_item(bt_mesh_nvs_handle_t handle, const char *key, const uint16_t val);
64 int bt_mesh_remove_settings_item(bt_mesh_nvs_handle_t handle, const char *key, const uint16_t val);
[all …]
Dsettings_nvs.c33 bt_mesh_nvs_handle_t handle;
71 int bt_mesh_settings_nvs_open(const char* name, bt_mesh_nvs_handle_t *handle) in bt_mesh_settings_nvs_open()
80 void bt_mesh_settings_nvs_close(bt_mesh_nvs_handle_t handle) in bt_mesh_settings_nvs_close()
167 int bt_mesh_settings_direct_open(bt_mesh_nvs_handle_t *handle) in bt_mesh_settings_direct_open()
212 static inline bt_mesh_nvs_handle_t settings_get_nvs_handle(enum settings_type type) in settings_get_nvs_handle()
216 extern bt_mesh_nvs_handle_t get_core_settings_handle(void); in settings_get_nvs_handle()
225 static int settings_save(bt_mesh_nvs_handle_t handle, const char *key, const uint8_t *val, size_t l… in settings_save()
260 int bt_mesh_save_settings(bt_mesh_nvs_handle_t handle, const char *key, in bt_mesh_save_settings()
272 bt_mesh_nvs_handle_t handle = settings_get_nvs_handle(SETTINGS_CORE); in bt_mesh_save_core_settings()
279 bt_mesh_nvs_handle_t handle = settings_get_nvs_handle(SETTINGS_UID); in bt_mesh_save_uid_settings()
[all …]
/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/
Dsettings_uid.c41 bt_mesh_nvs_handle_t handle; /* Core Settings nvs handle */
51 bt_mesh_nvs_handle_t get_core_settings_handle(void) in get_core_settings_handle()
164 bt_mesh_nvs_handle_t handle = 0; in settings_direct_erase()
509 bt_mesh_nvs_handle_t handle = 0; in bt_mesh_provisioner_direct_erase_settings()