Lines Matching refs:rsp
87 struct bt_mesh_rpr_scan_status rsp; in cmd_scan() local
113 BT_MESH_RPR_SCAN_MAX_DEVS_ANY, &rsp); in cmd_scan()
119 if (rsp.status == BT_MESH_RPR_SUCCESS) { in cmd_scan()
122 shell_print(sh, "Scan start response: %d", rsp.status); in cmd_scan()
232 struct bt_mesh_rpr_scan_status rsp; in cmd_scan_get() local
244 err = bt_mesh_rpr_scan_get((struct bt_mesh_rpr_cli *)mod->rt->user_data, &srv, &rsp); in cmd_scan_get()
251 shell_print(sh, "\tStatus: %u", rsp.status); in cmd_scan_get()
252 shell_print(sh, "\tScan type: %u", rsp.scan); in cmd_scan_get()
253 shell_print(sh, "\tMax devices: %u", rsp.max_devs); in cmd_scan_get()
254 shell_print(sh, "\tRemaining time: %u", rsp.timeout); in cmd_scan_get()
260 struct bt_mesh_rpr_scan_status rsp; in cmd_scan_stop() local
272 err = bt_mesh_rpr_scan_stop((struct bt_mesh_rpr_cli *)mod->rt->user_data, &srv, &rsp); in cmd_scan_stop()
273 if (err || rsp.status) { in cmd_scan_stop()
274 shell_print(sh, "Scan stop failed: %d %u", err, rsp.status); in cmd_scan_stop()
285 struct bt_mesh_rpr_link rsp; in cmd_link_get() local
297 err = bt_mesh_rpr_link_get((struct bt_mesh_rpr_cli *)mod->rt->user_data, &srv, &rsp); in cmd_link_get()
299 shell_print(sh, "Link get failed: %d %u", err, rsp.status); in cmd_link_get()
304 shell_print(sh, "\tStatus: %u", rsp.status); in cmd_link_get()
305 shell_print(sh, "\tState: %u", rsp.state); in cmd_link_get()
311 struct bt_mesh_rpr_link rsp; in cmd_link_close() local
319 err = bt_mesh_rpr_link_close((struct bt_mesh_rpr_cli *)mod->rt->user_data, &srv, &rsp); in cmd_link_close()
321 shell_print(sh, "Link close failed: %d %u", err, rsp.status); in cmd_link_close()
326 shell_print(sh, "\tStatus: %u", rsp.status); in cmd_link_close()
327 shell_print(sh, "\tState: %u", rsp.state); in cmd_link_close()