Home
last modified time | relevance | path

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

/hal_espressif-2.7.6/components/bt/esp_ble_mesh/mesh_core/
Dsettings_uid.c42 } user_ids[CONFIG_BLE_MESH_MAX_NVS_NAMESPACE]; variable
55 for (i = 0; i < ARRAY_SIZE(user_ids); i++) { in get_core_settings_handle()
56 if (user_ids[i].open) { in get_core_settings_handle()
57 return user_ids[i].handle; in get_core_settings_handle()
69 for (i = 0; i < ARRAY_SIZE(user_ids); i++) { in settings_uid_init()
70 memset(&user_ids[i], 0, sizeof(struct settings_uid)); in settings_uid_init()
71 user_ids[i].handle = INVALID_SETTINGS_HANDLE; in settings_uid_init()
102 err = bt_mesh_load_uid_settings(name, (uint8_t *)user_ids[index].id, in settings_uid_load()
112 BT_INFO("Restored settings %d, uid %s", index, user_ids[index].id); in settings_uid_load()
124 for (i = 0; i < ARRAY_SIZE(user_ids); i++) { in settings_uid_deinit()
[all …]