/Zephyr-latest/tests/bsim/bluetooth/mesh/src/ |
D | test_cdp1.c | 308 int mod_idx, int offset) in verify_model_item() argument 310 ASSERT_EQUAL(test_p1_elem_models[elem_idx][mod_idx + offset].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() 313 ASSERT_EQUAL(test_p1_elem_models[elem_idx][mod_idx + offset].ext_item_cnt, in verify_model_item() 316 ASSERT_EQUAL(test_p1_elem_models[elem_idx][mod_idx + offset].cor_id, in verify_model_item() 321 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 326 switch (elem_idx * 100 + (mod_idx + offset)) { in verify_ext_item() 341 mod_idx, offset); in verify_ext_item() 369 for (int mod_idx = 0; mod_idx < p1_elem->nsig; mod_idx++) { in verify_cdp1() local 371 verify_model_item(mod_item, elem_idx, mod_idx, 0); in verify_cdp1() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/ |
D | ll_test.h | 10 uint8_t ll_test_rx(uint8_t chan, uint8_t phy, uint8_t mod_idx, uint8_t expected_cte_len,
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/shell/ |
D | ll.c | 86 uint8_t chan, phy, mod_idx; in cmd_test_rx() local 95 mod_idx = strtoul(argv[3], NULL, 16); in cmd_test_rx() 97 err = ll_test_rx(chan, phy, mod_idx, BT_HCI_LE_TEST_CTE_DISABLED, in cmd_test_rx()
|
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | access.c | 101 mod_rel_list[(idx)].idx_base == mod->rt->mod_idx + (offset)) 105 mod_rel_list[(idx)].idx_ext == mod->rt->mod_idx + (offset)) 536 uint8_t mod_idx; in add_items_to_page() local 542 mod_idx = mod_rel_list[i].idx_base; in add_items_to_page() 551 elem_offset |= mod_idx << 3; in add_items_to_page() 559 data_buf_add_u8_offset(buf, mod_idx, offset); in add_items_to_page() 965 const struct bt_mesh_model *bt_mesh_model_get(bool vnd, uint8_t elem_idx, uint8_t mod_idx) in bt_mesh_model_get() argument 977 if (mod_idx >= elem->vnd_model_count) { in bt_mesh_model_get() 978 LOG_ERR("Invalid vendor model index %u", mod_idx); in bt_mesh_model_get() 982 return &elem->vnd_models[mod_idx]; in bt_mesh_model_get() [all …]
|
D | access.h | 60 const struct bt_mesh_model *bt_mesh_model_get(bool vnd, uint8_t elem_idx, uint8_t mod_idx);
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/openisa/lll/ |
D | lll_test.c | 287 uint8_t ll_test_rx(uint8_t chan, uint8_t phy, uint8_t mod_idx, uint8_t expected_cte_len, in ll_test_rx() argument
|
/Zephyr-latest/include/zephyr/bluetooth/mesh/ |
D | access.h | 902 uint8_t mod_idx; /* Is the Nth model in the element */ member
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/lll/ |
D | lll_test.c | 660 uint8_t ll_test_rx(uint8_t chan, uint8_t phy, uint8_t mod_idx, uint8_t expected_cte_len, in ll_test_rx() argument
|
/Zephyr-latest/subsys/bluetooth/mesh/shell/ |
D | cfg.c | 165 int mod_idx = 1; in cmd_get_comp() local 178 shell_print(sh, "\tElement #%d description", mod_idx); in cmd_get_comp() 254 mod_idx++; in cmd_get_comp()
|
/Zephyr-latest/doc/releases/ |
D | migration-guide-3.6.rst | 490 The ``model->user_data``, ``model->elem_idx`` and ``model->mod_idx`` field has been changed to 492 ``model->rt->mod_idx`` separately. (:github:`65152`)
|