Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/mesh/
Daccess.c112 } comp_data_pages[] = { variable
2374 for (int i = 0; i < ARRAY_SIZE(comp_data_pages); i++) { in bt_mesh_comp_store()
2386 err = bt_mesh_comp_data_get_page(&buf, comp_data_pages[i].page, 0); in bt_mesh_comp_store()
2388 LOG_ERR("Failed to read CDP%d: %d", comp_data_pages[i].page, err); in bt_mesh_comp_store()
2392 err = settings_save_one(comp_data_pages[i].path, buf.data, buf.len); in bt_mesh_comp_store()
2394 LOG_ERR("Failed to store CDP%d: %d", comp_data_pages[i].page, err); in bt_mesh_comp_store()
2398 LOG_DBG("Stored CDP%d", comp_data_pages[i].page); in bt_mesh_comp_store()
2417 for (int i = 0; i < ARRAY_SIZE(comp_data_pages); i++) { in comp_data_clear()
2418 err = settings_delete(comp_data_pages[i].path); in comp_data_clear()
2420 LOG_ERR("Failed to clear CDP%d: %d", comp_data_pages[i].page, in comp_data_clear()
[all …]