Home
last modified time | relevance | path

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

/Zephyr-latest/subsys/bluetooth/mesh/
Daccess.c60 static const struct bt_mesh_comp *dev_comp; variable
130 for (i = 0; i < dev_comp->elem_count; i++) { in bt_mesh_model_foreach()
131 const struct bt_mesh_elem *elem = &dev_comp->elem[i]; in bt_mesh_model_foreach()
238 for (i = 0; i < dev_comp->elem_count; i++) { in bt_mesh_metadata_page_0_size()
239 const struct bt_mesh_elem *elem = &dev_comp->elem[i]; in bt_mesh_metadata_page_0_size()
318 const struct bt_mesh_elem *elem = &dev_comp->elem[i]; in bt_mesh_metadata_get_page_0()
962 return &dev_comp->elem[mod->rt->elem_idx]; in bt_mesh_model_elem()
969 if (elem_idx >= dev_comp->elem_count) { in bt_mesh_model_get()
974 elem = &dev_comp->elem[elem_idx]; in bt_mesh_model_get()
1036 mod->rt->elem_idx = elem - dev_comp->elem; in mod_init()
[all …]
/Zephyr-latest/tests/bsim/bluetooth/mesh/src/
Dtest_provision.c1102 struct net_buf_simple *dev_comp) in reprovision_remote_comp_data_client() argument
1126 ASSERT_EQUAL(dev_comp->len, new_dev_comp.len); in reprovision_remote_comp_data_client()
1127 if (memcmp(dev_comp->data, new_dev_comp.data, dev_comp->len)) { in reprovision_remote_comp_data_client()
1189 NET_BUF_SIMPLE_DEFINE(dev_comp, BT_MESH_RX_SDU_MAX); in test_provisioner_pb_remote_client_nppi_robustness()
1217 ASSERT_OK(bt_mesh_cfg_cli_comp_data_get(0, current_dev_addr, 0, &page, &dev_comp)); in test_provisioner_pb_remote_client_nppi_robustness()
1231 reprovision_remote_comp_data_client(&srv, node, &dev_comp); in test_provisioner_pb_remote_client_nppi_robustness()
1421 NET_BUF_SIMPLE_DEFINE(dev_comp, BT_MESH_RX_SDU_MAX); in test_device_pb_remote_client_server_same_dev()
1466 net_buf_simple_reset(&dev_comp); in test_device_pb_remote_client_server_same_dev()
1467 ASSERT_OK(bt_mesh_cfg_cli_comp_data_get(0, current_dev_addr, 0, &page, &dev_comp)); in test_device_pb_remote_client_server_same_dev()
1489 reprovision_remote_comp_data_client(&srv, node, &dev_comp); in test_device_pb_remote_client_server_same_dev()