Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_cdp1.c358 static void verify_cdp1(struct bt_mesh_comp_p1_elem *p1_elem, in verify_cdp1() argument
365 while (bt_mesh_comp_p1_elem_pull(p1_dev_comp, p1_elem)) { in verify_cdp1()
366 ASSERT_EQUAL(test_p1_elems[elem_idx].nsig, p1_elem->nsig); in verify_cdp1()
367 ASSERT_EQUAL(test_p1_elems[elem_idx].nvnd, p1_elem->nvnd); in verify_cdp1()
369 for (int mod_idx = 0; mod_idx < p1_elem->nsig; mod_idx++) { in verify_cdp1()
370 if (bt_mesh_comp_p1_item_pull(p1_elem, mod_item)) { in verify_cdp1()
381 for (int mod_idx = 0; mod_idx < p1_elem->nvnd; mod_idx++) { in verify_cdp1()
382 if (bt_mesh_comp_p1_item_pull(p1_elem, mod_item)) { in verify_cdp1()
383 verify_model_item(mod_item, elem_idx, mod_idx, p1_elem->nsig); in verify_cdp1()
389 verify_ext_item(ext_item, elem_idx, mod_idx, p1_elem->nsig); in verify_cdp1()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/shell/
Dcfg.c162 struct bt_mesh_comp_p1_elem p1_elem = { ._buf = &p1_buf }; in cmd_get_comp() local
175 while (bt_mesh_comp_p1_elem_pull(&buf, &p1_elem)) { in cmd_get_comp()
180 for (i = 0; i < p1_elem.nsig; i++) { in cmd_get_comp()
181 if (bt_mesh_comp_p1_item_pull(&p1_elem, &mod_item)) { in cmd_get_comp()
217 for (i = 0; i < p1_elem.nvnd; i++) { in cmd_get_comp()
218 if (bt_mesh_comp_p1_item_pull(&p1_elem, &mod_item)) { in cmd_get_comp()