Lines Matching refs:provisionee
49 } provisionee; variable
57 provisionee.node != NULL) { in reset_state()
58 bt_mesh_cdb_node_del(provisionee.node, false); in reset_state()
89 net_buf_simple_add_u8(&inv, provisionee.attention_duration); in send_invite()
91 memcpy(bt_mesh_prov_link.conf_inputs.invite, &provisionee.attention_duration, in send_invite()
249 provisionee.elem_count = caps.elem_count; in prov_capabilities()
250 if (provisionee.elem_count == 0) { in prov_capabilities()
274 provisionee.elem_count); in prov_capabilities()
282 provisionee.node = in prov_capabilities()
283 bt_mesh_cdb_node_alloc(provisionee.uuid, in prov_capabilities()
285 provisionee.elem_count, in prov_capabilities()
286 provisionee.net_idx); in prov_capabilities()
287 if (provisionee.node == NULL) { in prov_capabilities()
294 bt_mesh_prov_link.addr = provisionee.node->addr; in prov_capabilities()
520 bt_mesh_prov_link.prov_salt, provisionee.new_dev_key); in send_prov_data()
527 sub = bt_mesh_cdb_subnet_get(provisionee.node->net_idx); in send_prov_data()
529 LOG_ERR("No subnet with net_idx %u", provisionee.node->net_idx); in send_prov_data()
543 net_buf_simple_add_be16(&pdu, provisionee.node->net_idx); in send_prov_data()
550 provisionee.node->net_idx, bt_mesh.iv_index, in send_prov_data()
574 struct bt_mesh_cdb_node *node = provisionee.node; in prov_complete()
577 bt_hex(&provisionee.new_dev_key, 16), node->net_idx, in prov_complete()
589 struct bt_mesh_cdb_node *node = provisionee.node; in prov_node_add()
594 provisionee.elem_count); in prov_node_add()
597 err = bt_mesh_cdb_node_key_import(node, provisionee.new_dev_key); in prov_node_add()
607 provisionee.node = NULL; in prov_node_add()
810 memcpy(provisionee.uuid, uuid, 16); in link_open()
826 provisionee.net_idx = net_idx; in link_open()
827 provisionee.attention_duration = attention_duration; in link_open()
880 provisionee.node->net_idx, bt_mesh_cdb.iv_index, addr); in reprovision_local_client_server()
887 provisionee.net_idx = provisionee.node->net_idx; in reprovision_local_client_server()
888 provisionee.attention_duration = 0; in reprovision_local_client_server()
911 bt_mesh_prov_link.prov_salt, provisionee.new_dev_key); in reprovision_local_client_server()
917 bt_mesh_dev_key_cand(provisionee.new_dev_key); in reprovision_local_client_server()
946 provisionee.node = bt_mesh_cdb_node_get(srv->addr); in bt_mesh_pb_remote_open_node()
947 if (!provisionee.node) { in bt_mesh_pb_remote_open_node()
957 return link_open(NULL, &pb_remote_cli, provisionee.node->net_idx, addr, in bt_mesh_pb_remote_open_node()