Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_cdp1.c307 static void verify_model_item(struct bt_mesh_comp_p1_model_item *mod_item, int elem_idx, in verify_model_item() argument
311 mod_item->cor_present); in verify_model_item()
312 ASSERT_EQUAL(test_p1_elem_models[elem_idx][mod_idx + offset].format, mod_item->format); in verify_model_item()
314 mod_item->ext_item_cnt); in verify_model_item()
315 if (mod_item->cor_present) { in verify_model_item()
317 mod_item->cor_id); in verify_model_item()
359 struct bt_mesh_comp_p1_model_item *mod_item, in verify_cdp1() argument
370 if (bt_mesh_comp_p1_item_pull(p1_elem, mod_item)) { in verify_cdp1()
371 verify_model_item(mod_item, elem_idx, mod_idx, 0); in verify_cdp1()
374 for (int ext_mod_idx = 0; ext_mod_idx < mod_item->ext_item_cnt; in verify_cdp1()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/shell/
Dcfg.c163 struct bt_mesh_comp_p1_model_item mod_item = { ._buf = &p1_item_buf }; in cmd_get_comp() local
181 if (bt_mesh_comp_p1_item_pull(&p1_elem, &mod_item)) { in cmd_get_comp()
183 if (mod_item.cor_present) { in cmd_get_comp()
186 mod_item.cor_id); in cmd_get_comp()
193 mod_item.ext_item_cnt); in cmd_get_comp()
195 for (j = 0; j < mod_item.ext_item_cnt; j++) { in cmd_get_comp()
196 bt_mesh_comp_p1_pull_ext_item(&mod_item, in cmd_get_comp()
218 if (bt_mesh_comp_p1_item_pull(&p1_elem, &mod_item)) { in cmd_get_comp()
220 if (mod_item.cor_present) { in cmd_get_comp()
223 mod_item.cor_id); in cmd_get_comp()
[all …]