Problems on calling

Hi ,

 We are using the BC127 module in our project, and the firmware version is Melody Audio V6.0.43. Now i have three problems in debug.
1.The first Problem:
  When  I pair the BC127 with the mobile A ,and other mobile B to CALL_INCOMING or CALL_OUTGOING mobile A, the call ends on the mobile B or press the HangUp key, The Bluetooth module sends a " SCO_CLOSE 13" message,but 

the “SCO_CLOSE 13” message is slow to respond to Sound, so i can not mute the Sound in advance, so my test vehicle will send a ‘POP’ Sound when hangup the call.
?
Note: when i hangup the call, If can send the “SCO_CLOSE 13” message instantly ?

2.The Second Problem:
  when BT module link a device of android system , and have a App in the device, The App can control the Bluetooth Music play , but when start to play music,the music has Intermittent , and the log of APP"E/bt_btif: btif_get_num_aa_frame() - Limiting frames to be sent from 59 to 10 ",and After a period of time, the BT music play can back to normal. how can i slove it ?

3.The third Problem:
We have the App to control the Bluetooth module, and can Switch the sound to the output the mobile or my test vehicle, but when the CALL_INCOMING or CALL_OUTGOING, switch the Sound,the Bluetooth module can sends the “SCO_CLOSE 13” message.
Can send other information in addition to “SCO_CLOSE 13”?

Million thanks if anyone could help.

Julia,

First thing I would do is upgrade to the latest 6.1.5 firmware, there are customers who have upgraded and the ‘popping’ is no longer there.

Regards

Matt

Thanks Matt. We’ll try upgrade and check.
Regarding the other 2 issue, any ideas?

Julia,

Upgrade and retest as there have been a lot of changes in the firmware betwen 6.1.5 and the one you are using so they might go away.

Regards

Matt

Thank you, Matt.

Yes, the POPING issue has fixed after we upgrade the firmware. But still can not switch phone call to hands free mode(just stopped after switching).

Ok can you take a log file and include the below commands.

version 
status
config

Add the log in a post as code (rather than just adding the entire text) as it is more readable.

Regards

Matt

VERSION

BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
	Bluetooth address 20FABB03BCA1
	Profiles: A2DP AVRCP HFP BLE SPP PBAP MAP
	Codecs: SBC
OK


STATUS

STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
OK



CONFIG


AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00 OFF
AUTOCONN=1
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=0 OFF
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=1 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB03BCA1
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-03BCA1
NAME_SHORT=BC3BCA1
PIN=0000
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=115200 ON 0
USB_HOST=OFF
VREG_ROLE=1
OK


open 54F201F8D7C3 spp

open DCD916C52540 spp


CALLER_NUMBER 13 13760495237

AVRCP_PAUSE 11 

open 54F201F8D7C3 spp
open DCD916C52540 spp

54F201F8D7C3 spp>

CALLER_NUMBER 13 13760495237


CALLER_NUMBER 13 13760495237


CALLER_NUMBER 13 13760495237


CALL ANSWER

CALL ANSWER

CALL_ACTIVE HFP 13


CALL ANSWER

CALL ANSWER


open 54F201F8D7C3 spp
open DCD916C52540 spp

open 54F201F8D7C3 spp

open DCD916C52540 spp

open 54F201F8D7C3 spp
open DCD916C52540 spp

open 54F201F8D7C3 spp
open DCD916C52540 spp


SCO_CLOSE 13


open 54F201F8D7C3 spp

CALL_IDLE HFP 13


AVRCP_PLAY 11 

open DCD916C52540 spp


RECV 15 10 MPA013061z
RECV 15 5 ODFSz
OK
RECV 15 10 MPA013322z
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA013584z
RECV 15 5 ODFSz
OK
RECV 15 10 MPA014106z
RECV 15 5 ODFSz
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 STREAMING SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PLAYING
LINK 13 CONNECTED HFP DCD916C52540 IDLE NB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
OK
RECV 15 5 ODFSz
RECV 15 10 MPA014367z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA014629z
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA014890z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA015151z
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA015412z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA015935z
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA016196z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA016457z
RECV 15 5 ODFSz
OK
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 STREAMING SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PLAYING
LINK 13 CONNECTED HFP DCD916C52540 IDLE NB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
RECV 15 5 ODFSz
RECV 15 10 MPA016718z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA016980z
RECV 15 5 ODFSz
OK
RECV 15 15 MPA017241zODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA017502z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA018024z
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA018286z
RECV 15 5 ODFSz
OK
RECV 15 10 MPA018547z
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA018808z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA019069z
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 STREAMING SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PLAYING
LINK 13 CONNECTED HFP DCD916C52540 IDLE NB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA019331z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA019592z
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA020114z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA020376z
RECV 15 5 ODFSz
OK
RECV 15 10 MPA020637z
RECV 15 5 ODFSz
A2DP_STREAM_SUSPEND 10
CALL_INCOMING HFP 13
OK
CALLER_NUMBER 13 13760495237
AVRCP_PAUSE 11
RECV 15 5 ODFSz
OK
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 SUSPENDED SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PAUSED
LINK 13 CONNECTED HFP DCD916C52540 INCOMING NB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
RECV 15 5 ODFSz
OK
OK
OK
OK
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
CALLER_NUMBER 13 13760495237
OK
RECV 15 5 ODFSz
OK
OK
RECV 15 5 ODFSz
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 SUSPENDED SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PAUSED
LINK 13 CONNECTED HFP DCD916C52540 INCOMING NB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
CALLER_NUMBER 13 13760495237
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 SUSPENDED SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PAUSED
LINK 13 CONNECTED HFP DCD916C52540 INCOMING NB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
OK
RECV 15 5 ODFSz
OK
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 SUSPENDED SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PAUSED
LINK 13 CONNECTED HFP DCD916C52540 INCOMING NB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
OK
RECV 15 5 ODFSz
CALLER_NUMBER 13 13760495237
RECV 15 5 ODFSz
OK
OK
RECV 15 5 ODFSz
OK
OK
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
CALL_ACTIVE HFP 13
SCO_OPEN 13
OK
ERROR 0x0013
RECV 15 5 ODFSz
ERROR 0x0013
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 SUSPENDED SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PAUSED
LINK 13 CONNECTED HFP DCD916C52540 ACTIVE WB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 SUSPENDED SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PAUSED
LINK 13 CONNECTED HFP DCD916C52540 ACTIVE WB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 SUSPENDED SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PAUSED
LINK 13 CONNECTED HFP DCD916C52540 ACTIVE WB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 SUSPENDED SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PAUSED
LINK 13 CONNECTED HFP DCD916C52540 ACTIVE WB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 5 ODFSz
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
SCO_CLOSE 13
OK
OK
OK
OK
OK
RECV 15 5 ODFSz
OK
CALL_IDLE HFP 13
ERROR 0x0013
OK
RECV 15 5 ODFSz
RECV 15 10 MPA021159z
OK
OK
RECV 15 5 ODFSz
RECV 15 4 EC1z
RECV 15 4 EC0z
RECV 15 5 ODFSz
A2DP_STREAM_START 10
AVRCP_PLAY 11
RECV 15 10 MPA021420z
RECV 15 5 ODFSz
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
LINK 10 CONNECTED A2DP DCD916C52540 STREAMING SBC SRC 0
LINK 11 CONNECTED AVRCP DCD916C52540 PLAYING
LINK 13 CONNECTED HFP DCD916C52540 IDLE WB
LINK 15 CONNECTED SPP DCD916C52540 COMMAND
OK
OK
RECV 15 5 ODFSz
RECV 15 10 MPA021682z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA021943z
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA022204z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA022727z
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA022988z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA023249z
RECV 15 5 ODFSz
OK
RECV 15 5 ODFSz
RECV 15 10 MPA023510z
OK
RECV 15 5 ODFSz
RECV 15 10 MPA023771z
RECV 15 5 ODFSz

Hi Matt,
The above is the log i took when the issue occured.
Pls take a look and give me some advice.

1.Here is some of the config info:
HFP_CONFIG= OFF ON OFF OFF ON
In case of incoming call, I got no INBAND_RING AGHFP, also no ringtone info.
Is there anywhere else that can config something?

  1. I config HFP enabled in PROFILES like this:
    PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
    Is that correct?

Another problem now is no ringtone when incoming calling(things are normal when calling out).

How to switch between SCO and A2DP? any other factors that affect the ringtone?

Hi,

I think I am repeating your issue but why are not setting HFP to have incoming ring tones enabled? Can you try this?

set HFP_CONFIG=OFF ON ON OFF OFF
OK
write
OK
reset
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready
OPEN_OK 13 HFP 04C23E048A70
OPEN_OK 10 A2DP 04C23E048A70
ROLE_OK 04C23E048A70 S
ROLE_OK 04C23E048A70 S
ROLE_OK 04C23E048A70 S
OPEN_OK 11 AVRCP 04C23E048A70
AVRCP_PAUSE 11
call 13 OUTGOING 07747008670
OK
CALL_OUTGOING HFP 13
SCO_OPEN 13
CALL_ACTIVE HFP 13
CALL_IDLE HFP 13
SCO_CLOSE 13
CALL_INCOMING HFP 13
CALLER_NUMBER 13 07747008670
CALLER_NUMBER 13 07747008670
CALL_ACTIVE HFP 13
SCO_OPEN 13
CALL_IDLE HFP 13
SCO_CLOSE 13
CALL_INCOMING HFP 13
CALLER_NUMBER 13 07747008670
CALLER_NUMBER 13 07747008670
CALLER_NUMBER 13 07747008670
CALL_IDLE HFP 13
CALL_INCOMING HFP 13
CALLER_NUMBER 13 07747008670
CALLER_NUMBER 13 07747008670
CALLER_NUMBER 13 07747008670
CALLER_NUMBER 13 07747008670
CALL_IDLE HFP 13
config
AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00 OFF
AUTOCONN=0
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C
BEACON_DATA=0 00 11 22 33 44 55 66 77 88 99 AA BB CC DD EE FF 04 D2 16 2E EE
BLE_CONFIG=0 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
BT_VOL_CONFIG=A A 10 1
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=0 OFF
CONN_TO=0
DEEP_SLEEP=OFF
DEVICE_ID=0001 0002 0003 0004 0005 0006 0007 0008
DISCOVERABLE=2 0
ENABLE_BATT_IND=ON
ENABLE_CAPSENSE=OFF
ENABLE_LED=ON
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON ON OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB000183
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-000183
NAME_SHORT=BC00183
PIN=0000
PROFILES=2 0 2 0 2 1 2 1 0 0 1 0
REMOTE_ADDR=000000000000
SPP_UUID=00 00 11 01 00 00 10 00 80 00 00 80 5F 9B 34 FB
SSP_CAPS=3
TWS_CONFIG=OFF 1 2
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1
OK

With regards getting it fixed, can you raise it with your commercial channel i.e. your distributor, they should be able to get a ticket raise for it to be looked at.

Regards

Matt

Also what do you mean about switching between SCO and A2DP? Are you talking aobut switching the audio output between the call and streaming data?

Regards

Matt

Call the mobile number from another line.
If the test call fails, the problem is with that number. Reach out to the service provider for that number.
If the test call works, try to dial the number again, first calling *67 and then the 11-digit number.

That’s the US code for number withhold, isn’t it?

That isn’t (necessarily) going to work outside the USA

#31# is the general code.

geckobeach.com/cellular/secrets/gsmcodes.php

3GPP : 22.030 Man-Machine Interface (MMI) of the User Equipment (UE)
portal.3gpp.org/desktopmodules/ … tionId=570