Lines Matching refs:srv
103 static void rpr_scan_report(struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv,
835 static int provision_remote(struct bt_mesh_rpr_node *srv, uint8_t dev_idx, uint16_t *addr) in provision_remote() argument
846 ASSERT_OK(bt_mesh_rpr_scan_start(&rpr_cli, srv, NULL, 5, 1, &scan_status)); in provision_remote()
858 static void rpr_scan_report(struct bt_mesh_rpr_cli *cli, const struct bt_mesh_rpr_node *srv, in rpr_scan_report() argument
866 ASSERT_OK(bt_mesh_provision_remote(cli, srv, unprov->uuid, 0, prov_addr)); in rpr_scan_report()
934 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_reprovision() local
941 ASSERT_OK(provision_remote(&srv, 2, &srv.addr)); in test_provisioner_pb_remote_client_reprovision()
950 const struct bt_mesh_rpr_node *srv, in rpr_scan_report_parallel() argument
981 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_parallel() local
992 ASSERT_OK(bt_mesh_provision_remote(&rpr_cli, &srv, uuid, 0, prov_addr)); in test_provisioner_pb_remote_client_parallel()
996 ASSERT_OK(bt_mesh_rpr_scan_start(&rpr_cli, &srv, uuid, 15, 1, &scan_status)); in test_provisioner_pb_remote_client_parallel()
1006 ASSERT_OK(bt_mesh_provision_remote(&rpr_cli, &srv, uuid, 0, prov_addr)); in test_provisioner_pb_remote_client_parallel()
1031 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_provision_timeout() local
1047 ASSERT_OK(bt_mesh_rpr_scan_start(&rpr_cli, &srv, uuid, 5, 1, &scan_status)); in test_provisioner_pb_remote_client_provision_timeout()
1057 ASSERT_OK(bt_mesh_provision_remote(&rpr_cli, &srv, uuid, 0, prov_addr)); in test_provisioner_pb_remote_client_provision_timeout()
1064 ASSERT_OK(bt_mesh_provision_remote(&rpr_cli, &srv, uuid, 0, prov_addr)); in test_provisioner_pb_remote_client_provision_timeout()
1073 static void reprovision_remote_devkey_client(struct bt_mesh_rpr_node *srv, in reprovision_remote_devkey_client() argument
1082 bt_mesh_reprovision_remote(&rpr_cli, srv, current_dev_addr, false); in reprovision_remote_devkey_client()
1100 static void reprovision_remote_comp_data_client(struct bt_mesh_rpr_node *srv, in reprovision_remote_comp_data_client() argument
1111 bt_mesh_reprovision_remote(&rpr_cli, srv, current_dev_addr, true); in reprovision_remote_comp_data_client()
1135 static void reprovision_remote_address_client(struct bt_mesh_rpr_node *srv, in reprovision_remote_address_client() argument
1144 bt_mesh_reprovision_remote(&rpr_cli, srv, current_dev_addr + 1, false); in reprovision_remote_address_client()
1149 srv->addr++; in reprovision_remote_address_client()
1201 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_nppi_robustness() local
1207 ASSERT_OK(provision_remote(&srv, 2, &srv.addr)); in test_provisioner_pb_remote_client_nppi_robustness()
1225 reprovision_remote_devkey_client(&srv, node); in test_provisioner_pb_remote_client_nppi_robustness()
1231 reprovision_remote_comp_data_client(&srv, node, &dev_comp); in test_provisioner_pb_remote_client_nppi_robustness()
1237 reprovision_remote_address_client(&srv, node); in test_provisioner_pb_remote_client_nppi_robustness()
1400 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_ncrp_provision() local
1406 ASSERT_OK(provision_remote(&srv, 2, &srv.addr)); in test_provisioner_pb_remote_client_ncrp_provision()
1441 struct bt_mesh_rpr_node srv = { in test_device_pb_remote_client_server_same_dev() local
1448 ASSERT_OK(provision_remote(&srv, 1, &srv.addr)); in test_device_pb_remote_client_server_same_dev()
1462 srv.addr = current_dev_addr; in test_device_pb_remote_client_server_same_dev()
1472 LOG_INF("Refreshing 0x%04x device key ...\n", srv.addr); in test_device_pb_remote_client_server_same_dev()
1474 reprovision_remote_devkey_client(&srv, node); in test_device_pb_remote_client_server_same_dev()
1487 LOG_INF("Changing 0x%04x Composition Data ...\n", srv.addr); in test_device_pb_remote_client_server_same_dev()
1489 reprovision_remote_comp_data_client(&srv, node, &dev_comp); in test_device_pb_remote_client_server_same_dev()
1502 LOG_INF("Changing 0x%04x address ...\n", srv.addr); in test_device_pb_remote_client_server_same_dev()
1504 reprovision_remote_address_client(&srv, node); in test_device_pb_remote_client_server_same_dev()
1619 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_ncrp() local
1628 ASSERT_OK(bt_mesh_reprovision_remote(&rpr_cli, &srv, pb_remote_server_addr, true)); in test_provisioner_pb_remote_client_ncrp()
1680 struct bt_mesh_rpr_node srv = { in test_provisioner_pb_remote_client_ncrp_second_time() local
1689 ASSERT_OK(bt_mesh_reprovision_remote(&rpr_cli, &srv, pb_remote_server_addr, true)); in test_provisioner_pb_remote_client_ncrp_second_time()