Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_cdp1.c321 static void verify_ext_item(struct bt_mesh_comp_p1_ext_item *ext_item, int elem_idx, int mod_idx, in verify_ext_item() argument
344 ASSERT_EQUAL(test_p1_ext_item->type, ext_item->type); in verify_ext_item()
345 if (ext_item->type == SHORT) { in verify_ext_item()
347 ext_item->short_item.elem_offset); in verify_ext_item()
349 ext_item->short_item.mod_item_idx); in verify_ext_item()
352 ext_item->long_item.elem_offset); in verify_ext_item()
354 ext_item->long_item.mod_item_idx); in verify_ext_item()
360 struct bt_mesh_comp_p1_ext_item *ext_item, in verify_cdp1() argument
376 bt_mesh_comp_p1_pull_ext_item(mod_item, ext_item); in verify_cdp1()
377 verify_ext_item(ext_item, elem_idx, mod_idx, 0); in verify_cdp1()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/shell/
Dcfg.c164 struct bt_mesh_comp_p1_ext_item ext_item = { 0 }; in cmd_get_comp() local
197 &ext_item); in cmd_get_comp()
200 if (ext_item.type == SHORT) { in cmd_get_comp()
203 ext_item.short_item.elem_offset); in cmd_get_comp()
206 ext_item.short_item.mod_item_idx); in cmd_get_comp()
210 ext_item.long_item.elem_offset); in cmd_get_comp()
213 ext_item.long_item.mod_item_idx); in cmd_get_comp()
234 &ext_item); in cmd_get_comp()
237 if (ext_item.type == SHORT) { in cmd_get_comp()
240 ext_item.short_item.elem_offset); in cmd_get_comp()
[all …]
/Zephyr-Core-3.5.0/subsys/bluetooth/mesh/
Dcfg_cli.c2386 struct bt_mesh_comp_p1_model_item *item, struct bt_mesh_comp_p1_item_short *ext_item) in comp_p1_pull_item_short() argument
2402 ext_item->elem_offset = OFFSET(item_data); in comp_p1_pull_item_short()
2403 ext_item->mod_item_idx = IDX(item_data); in comp_p1_pull_item_short()
2404 return ext_item; in comp_p1_pull_item_short()
2408 struct bt_mesh_comp_p1_model_item *item, struct bt_mesh_comp_p1_item_long *ext_item) in comp_p1_pull_item_long() argument
2423 ext_item->elem_offset = net_buf_simple_pull_u8(item->_buf); in comp_p1_pull_item_long()
2424 ext_item->mod_item_idx = net_buf_simple_pull_u8(item->_buf); in comp_p1_pull_item_long()
2426 return ext_item; in comp_p1_pull_item_long()
2430 struct bt_mesh_comp_p1_model_item *item, struct bt_mesh_comp_p1_ext_item *ext_item) in bt_mesh_comp_p1_pull_ext_item() argument
2437 ext_item->type = SHORT; in bt_mesh_comp_p1_pull_ext_item()
[all …]
/Zephyr-Core-3.5.0/include/zephyr/bluetooth/mesh/
Dcfg_cli.h1788 struct bt_mesh_comp_p1_model_item *item, struct bt_mesh_comp_p1_ext_item *ext_item);