OSDN Git Service

HSP: Keep sending RING message
authorChenyang Zhang <chenyang.x.zhang@sony.com>
Mon, 26 Mar 2018 03:21:59 +0000 (11:21 +0800)
committerAndre Eisenbach <eisenbach@google.com>
Tue, 24 Apr 2018 22:41:28 +0000 (22:41 +0000)
commit039c2bd30bcecaf9b79ac8518af92c582a93b21c
treeea8d14833a78225bd84970dd3cab329905c42500
parent93011f0038824ce23800cb1439c325ce854ee1dc
HSP: Keep sending RING message

Two PTS Test failed:
- HSP/AG/IAC/BV-01-I
- HSP/AG/ACR/BV-02-I

Reason:
AG didn't send the "RING" unsolicited result code to HS(PTS),
then HS can't send the "AT+CKPD=200" command to received the call.
After a while, the "FATAL ERROR (MTC): Call establishment timed out"
triggered by PTS.

Solution:
Keep sending RING message for HSP.

Bug: 77507028
Change-Id: If1288a5f7b1b7da8ecba34ed90a85a0af8a91e9a
bta/ag/bta_ag_cmd.cc