Home
last modified time | relevance | path

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

/hal_espressif-3.5.0/components/bt/esp_ble_mesh/mesh_core/
Daccess.c25 static const struct bt_mesh_comp *dev_comp; variable
36 if (dev_comp == NULL) { in bt_mesh_model_foreach()
41 for (i = 0; i < dev_comp->elem_count; i++) { in bt_mesh_model_foreach()
42 struct bt_mesh_elem *elem = &dev_comp->elem[i]; in bt_mesh_model_foreach()
285 return &dev_comp->elem[mod->elem_idx]; in bt_mesh_model_elem()
292 if (!dev_comp) { in bt_mesh_model_get()
297 if (elem_idx >= dev_comp->elem_count) { in bt_mesh_model_get()
302 elem = &dev_comp->elem[elem_idx]; in bt_mesh_model_get()
349 mod->elem_idx = elem - dev_comp->elem; in mod_init()
374 dev_comp = comp; in bt_mesh_comp_register()
[all …]