Searched refs:model_count (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/ble_mesh/bt_mesh/aos/ |
A D | mesh.c | 133 mesh_model_count = ble_mesh_dev.init.comp->elem[model->elem_idx].model_count; in mesh_op_cb() 277 elems->model_count = param->comp->elem[i].model_count; in ble_stack_mesh_init() 280 if (elems->model_count) { in ble_stack_mesh_init() 281 …model *models = (struct bt_mesh_model *) malloc(sizeof(struct bt_mesh_model) * elems->model_count); in ble_stack_mesh_init() 287 memset(models, 0, sizeof(struct bt_mesh_model) * elems->model_count); in ble_stack_mesh_init() 290 for (j = 0; j < elems->model_count; j++, models++) { in ble_stack_mesh_init() 544 if (mod_id < ble_mesh_dev.comp->elem[elem_id].model_count) { in ble_stack_mesh_send() 581 if (mod_id < ble_mesh_dev.comp->elem[elem_id].model_count) { in ble_stack_mesh_pub()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/ |
A D | access.c | 66 for (j = 0; j < elem->model_count; j++) { in bt_mesh_model_foreach() 285 if (mod_idx >= elem->model_count) { in bt_mesh_model_get() 357 …BT_DBG("addr 0x%04x mod_count %u vnd_mod_count %u", elem->addr, elem->model_count, elem->vnd_model… in bt_mesh_comp_provision() 413 for (i = 0; i < elem->model_count; i++) { in bt_mesh_elem_find_group() 480 static const struct bt_mesh_model_op *find_op(struct bt_mesh_model *models, u8_t model_count, u16_t… in find_op() argument 485 for (i = 0; i < model_count; i++) { in find_op() 617 count = elem->model_count; in bt_mesh_model_recv() 825 for (i = 0; i < elem->model_count; i++) { in bt_mesh_model_find()
|
A D | provisioner_main.c | 1350 … BT_WARN("* Loc: 0x%04x NumS: 0x%02x NumV: 0x%02x *", elem->loc, elem->model_count, in bt_mesh_provisioner_print_local_element_info() 1353 for (j = 0; j < elem->model_count; j++) { in bt_mesh_provisioner_print_local_element_info()
|
A D | cfg_srv.c | 140 if (net_buf_simple_tailroom(buf) < 4 + (elem->model_count * 2) + (elem->vnd_model_count * 2)) { in comp_add_elem() 147 net_buf_simple_add_u8(buf, elem->model_count); in comp_add_elem() 150 for (i = 0; i < elem->model_count; i++) { in comp_add_elem() 531 for (j = 0; j < elem->model_count; j++) { in genie_mesh_setup()
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/api/mesh/ |
A D | access.h | 49 ….loc = (_loc), .model_count = ARRAY_SIZE(_mods), .models = (_mods), .vnd_model_count = ARRAY_SIZE(… 62 u8_t model_count; member
|
/AliOS-Things-master/components/ble_mesh/bt_mesh/mesh_models/common/ |
A D | mesh_model.c | 216 for (model_num = 0; model_num < comp->elem[ele_num].model_count; model_num++) { in mesh_model_set_user_data()
|
Completed in 15 milliseconds