Home
last modified time | relevance | path

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

/AliOS-Things-master/components/ble_mesh/bt_mesh/aos/
A Dmesh.c137 mesh_model = ble_mesh_dev.init.comp->elem[model->elem_idx].vnd_models; in mesh_op_cb()
418 elems->vnd_models = models; in ble_stack_mesh_init()
429 … memset(op, 0, sizeof(struct bt_mesh_model_op) * param->comp->elem[i].vnd_models[j].op_num); in ble_stack_mesh_init()
432 for (k = 0; k < param->comp->elem[i].vnd_models[j].op_num; k++) { in ble_stack_mesh_init()
433 op[k].opcode = param->comp->elem[i].vnd_models[j].op_list[k].op; in ble_stack_mesh_init()
452 … uint8_t *msg_data = (uint8_t *)malloc(param->comp->elem[i].vnd_models[j].pub_mesh_len + 1 + 3); in ble_stack_mesh_init()
464 pub_data->msg.size = param->comp->elem[i].vnd_models[j].pub_mesh_len + 1 + 3; in ble_stack_mesh_init()
469 models->id = param->comp->elem[i].vnd_models[j].id; in ble_stack_mesh_init()
472 models->user_data = &param->comp->elem[i].vnd_models[j]; in ble_stack_mesh_init()
549 model = &ble_mesh_dev.comp->elem[elem_id].vnd_models[mod_id]; in ble_stack_mesh_send()
[all …]
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/src/
A Daccess.c73 struct bt_mesh_model *model = &elem->vnd_models[j]; in bt_mesh_model_foreach()
283 return &elem->vnd_models[mod_idx]; in bt_mesh_model_get()
309 mod->mod_idx = mod - elem->vnd_models; in mod_init()
423 model = &elem->vnd_models[i]; in bt_mesh_elem_find_group()
619 models = elem->vnd_models; in bt_mesh_model_recv()
813 if (elem->vnd_models[i].vnd.company == company && elem->vnd_models[i].vnd.id == id) { in bt_mesh_model_find_vnd()
814 return &elem->vnd_models[i]; in bt_mesh_model_find_vnd()
A Dcfg_srv.c156 mod = &elem->vnd_models[i]; in comp_add_elem()
538 … mod = bt_mesh_model_find_vnd(elem, elem->vnd_models[j].vnd.company, elem->vnd_models[j].vnd.id); in genie_mesh_setup()
540 …BT_DBG(">>>model %04x %04x app_key[%02x]<<<", elem->vnd_models[j].vnd.company, elem->vnd_models[j]… in genie_mesh_setup()
A Dprovisioner_main.c1359 model = &elem->vnd_models[j]; in bt_mesh_provisioner_print_local_element_info()
/AliOS-Things-master/components/ble_mesh/bt_mesh/core/inc/api/mesh/
A Daccess.h50 .vnd_models = (_vnd_mods), .grop_addr = (_grop_addr), \
66 struct bt_mesh_model *vnd_models; member
/AliOS-Things-master/components/genie_service/sal/src/
A Dgenie_sal_ble.c171 p_model = p_element->vnd_models; in genie_sal_ble_send_msg()
/AliOS-Things-master/components/ble_mesh/bt_shell/bt_mesh/
A Dshell.c325 static struct bt_mesh_model vnd_models[] = { variable
343 BT_MESH_ELEM(0, root_models, vnd_models, 0),

Completed in 20 milliseconds