Home
last modified time | relevance | path

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

/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/common/
A Dmesh_model.c22 const struct bt_mesh_comp *mesh_comp; member
201 static int mesh_model_bind_map_get(const struct bt_mesh_comp *mesh_comp) in mesh_model_bind_map_get() argument
203 if (!mesh_comp) { in mesh_model_bind_map_get()
262 g_mesh_model.mesh_comp = comp; in ble_mesh_model_init()
271 return g_mesh_model.mesh_comp; in ble_mesh_model_get_comp_data()
290 if (elem_idx > g_mesh_model.mesh_comp->elem_count) { in ble_mesh_model_find()
296 …return (struct bt_mesh_model *)bt_mesh_model_find_vnd(&g_mesh_model.mesh_comp->elem[elem_idx], CID… in ble_mesh_model_find()
299 …return (struct bt_mesh_model *)bt_mesh_model_find(&g_mesh_model.mesh_comp->elem[elem_idx], mod_idx… in ble_mesh_model_find()
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_node/
A Dmesh_node.c835 const struct bt_mesh_comp *mesh_comp = ble_mesh_model_get_comp_data(); in ble_mesh_node_init() local
837 if (!mesh_comp || (NODE != param->role && PROVISIONER != param->role)) { in ble_mesh_node_init()
841 g_mesh_node.comp = mesh_comp; in ble_mesh_node_init()
876 mesh_comp->elem_count > (param->provisioner_config->config.unicast_addr_start - in ble_mesh_node_init()
906 ret = bt_mesh_init(&node_prov, mesh_comp, prov_comp->provisioner); in ble_mesh_node_init()
959 ret = bt_mesh_init(&node_prov, mesh_comp, NULL); in ble_mesh_node_init()

Completed in 9 milliseconds