From a8b7ea9824ee8b0a4b6f81f595c6fd5566b8330b Mon Sep 17 00:00:00 2001 From: Matthias Ringwald Date: Fri, 27 Nov 2015 11:36:49 +0100 Subject: [PATCH] add answer incoming call command --- test/pts/hfp_hf_test.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/pts/hfp_hf_test.c b/test/pts/hfp_hf_test.c index 46a81e711..ef80a2107 100644 --- a/test/pts/hfp_hf_test.c +++ b/test/pts/hfp_hf_test.c @@ -164,6 +164,10 @@ static int stdin_process(struct data_source *ds){ printf("Disable reporting of the extended AG error result code.\n"); hfp_hf_disable_report_extended_audio_gateway_error_result_code(device_addr); break; + case 'f': + printf("Answer incoming call.\n"); + hfp_hf_answer_incoming_call(device_addr); + break; default: show_usage(); break;