Home
last modified time | relevance | path

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

/Zephyr-latest/samples/boards/nordic/mesh/onoff_level_lighting_vnd_app/src/mesh/
Dpublisher.c41 bt_mesh_model_msg_init(vnd_models[0].pub->msg, in publish()
43 net_buf_simple_add_le16(vnd_models[0].pub->msg, 0x0001); in publish()
44 net_buf_simple_add_u8(vnd_models[0].pub->msg, tid++); in publish()
45 err = bt_mesh_model_publish(&vnd_models[0]); in publish()
63 bt_mesh_model_msg_init(vnd_models[0].pub->msg, in publish()
65 net_buf_simple_add_le16(vnd_models[0].pub->msg, 0x0000); in publish()
66 net_buf_simple_add_u8(vnd_models[0].pub->msg, tid++); in publish()
67 err = bt_mesh_model_publish(&vnd_models[0]); in publish()
Ddevice_composition.h97 extern const struct bt_mesh_model vnd_models[];
Ddevice_composition.c3173 const struct bt_mesh_model vnd_models[] = { variable
3192 BT_MESH_ELEM(0, root_models, vnd_models),
/Zephyr-latest/samples/bluetooth/mesh_demo/src/
Dmain.c104 static const struct bt_mesh_model vnd_models[] = { variable
109 BT_MESH_ELEM(0, root_models, vnd_models),
233 if (bt_mesh_model_send(&vnd_models[0], &ctx, &msg, NULL, NULL)) { in board_button_1_pressed()
/Zephyr-latest/tests/bluetooth/mesh/basic/src/
Dmain.c112 static const struct bt_mesh_model vnd_models[] = { variable
118 BT_MESH_ELEM(0, root_models, vnd_models),
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/src/
Dmesh.c494 static const struct bt_mesh_model vnd_models[] = { variable
499 BT_MESH_ELEM(0, root_models, vnd_models),
538 if (bt_mesh_model_send(&vnd_models[0], &ctx, &msg, NULL, NULL) == 0) { in send_hello()
565 if (bt_mesh_model_send(&vnd_models[0], &ctx, &msg, NULL, NULL) == 0) { in send_baduser()
/Zephyr-latest/subsys/bluetooth/mesh/
Daccess.c140 const struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_model_foreach()
251 const struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_metadata_page_0_size()
347 const struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_metadata_get_page_0()
410 const struct bt_mesh_model *model = &elem->vnd_models[i]; in comp_add_elem()
595 temp_size += is_cor_present(&elem->vnd_models[i], NULL, elem->model_count) ? 2 : 1; in page1_elem_size()
596 temp_size += mod_items_size(&elem->vnd_models[i], elem->model_count); in page1_elem_size()
647 prep_model_item_header(&comp->elem[i].vnd_models[j], &cor_id, &ext_mod_cnt, in bt_mesh_comp_data_get_page_1()
651 add_items_to_page(buf, &comp->elem[i].vnd_models[j], ext_mod_cnt, in bt_mesh_comp_data_get_page_1()
982 return &elem->vnd_models[mod_idx]; in bt_mesh_model_get()
1038 mod->rt->mod_idx = mod - elem->vnd_models; in mod_init()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dmesh_test.c219 static const struct bt_mesh_model vnd_models[] = { variable
224 const struct bt_mesh_model *test_vnd_model = &vnd_models[0];
227 BT_MESH_ELEM(0, models, vnd_models),
Dtest_op_agg.c188 ASSERT_OK(dummy_vnd_mod_get(&elements[0].vnd_models[0], &ctx, i)); in common_init()
Dtest_access.c231 static const struct bt_mesh_model vnd_models[] = {}; variable
234 BT_MESH_ELEM(0, models, vnd_models),
235 BT_MESH_ELEM(1, models_ne, vnd_models),
Dtest_sar.c188 const struct bt_mesh_model *dummy_vnd_mod = &elements[0].vnd_models[0]; in cli_max_len_sdu_send()
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Daccess.h150 .vnd_models = (_vnd_mods), \
171 const struct bt_mesh_model * const vnd_models; member
/Zephyr-latest/tests/bluetooth/tester/src/
Dbtp_mesh.c1160 static const struct bt_mesh_model vnd_models[] = { variable
1166 BT_MESH_ELEM(0, primary_models, vnd_models),
1179 BT_MESH_ELEM(0, primary_models_alt, vnd_models),
1704 vnd_models[0].keys[0] = vnd_app_key_idx; in net_send()
1709 err = bt_mesh_model_send(&vnd_models[0], &ctx, &msg, NULL, NULL); in net_send()