Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
187 views
in Technique[技术] by (71.8m points)

Android-Bluetooth How to fix some BT behavior?

I have an android device , and I paired a phone to it , then I made an outgoing call , but the problem is that the call is ringing but the number isn't displayed on the device, but it s well displayed on the phone

I have no idea about the AT commands but i did some research to understand this issue and i think it could be caused by the format of the called number" And related to AT+CLCC response ? Can someone help me to understand more this issue?

Is this problem comes from the paired phone or the device? Does the phone sends the command to the device? or the devices internally sends the command AT+CLCC to verify the number ? what are the rules for this command to display the number?how to fix that?

question from:https://stackoverflow.com/questions/65907951/android-bluetooth-how-to-fix-some-bt-behavior

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Is your question about Bluetooth HandsFree profile?
To get a list of current calls HandsFree unit (HF, your device) sends AT+CLCC command. Audio Gateway (AG, your smartphone) sends back a sequence of call information records (if there is(are) some call(s) in progress) and when sends OK:

+CLCC: <idx>,<dir>,<status>,<mode>,<mprty>[,<number>,<type>]  
...  
+CLCC: <idx>,<dir>,<status>,<mode>,<mprty>[,<number>,<type>]  
OK  

You can read about meaning and possible values of fields in Bluetooth HandsFree or 3GPP 27.007 specification. Do you have a log?


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...