Continuous OPEN_ERROR A2DP

For the config command ‘AUTOCONN=1’ I’m observing continuous ‘OPEN_ERROR A2DP’ messages when Melody attempts to connect to previously paired devices.
I’ve tried pairing and connecting with an iPad mini and a Samsung Note 4, the same error is produced.

From a reset command or hard-power on this is the output:

BlueCreation Copyright 2017
Melody Audio V6.1.5 HD
Build: 1496941831
Ready
OPEN_OK 10 A2DP 00F46F3AC34C
OPEN_OK 11 AVRCP 00F46F3AC34C
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
AVRCP_PAUSE 11
AVRCP_STOP 11
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP

Here is the output to version, status, list and config:

BlueCreation Copyright 2017
Melody Audio V6.1.5 HD
Build: 1496941831
Bluetooth address 20FABB041834
Profiles: A2DP AVRCP BLE SPP PBAP MAP
Codecs: SBC APTX AAC APTX-HD
OK
status
STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[IDLE]
OK
list
LIST 00F46F3AC34C A2DP AVRCP
LIST 88CB8791F5C3 A2DP AVRCP
OK
config
AUDIO=1 1
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 180010 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=11 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 OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB041834
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-041834
NAME_SHORT=BC41834
PIN=0000
PROFILES=0 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

I also observe the error when connecting a new device:

PAIR_PENDING
PAIR_OK A4E975719E1C
OPEN_OK 11 AVRCP A4E975719E1C
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
OPEN_ERROR A2DP
list
LIST A4E975719E1C AVRCP
LIST 00F46F3AC34C A2DP AVRCP
LIST 88CB8791F5C3 A2DP AVRCP
OK

Hi,

Was this systematic? I tested on an iPhone 4 and HTC A9, it did not happen on the iPhone but did on the HTC, I then tried to recreate it and it refused (and continues) to happen again.

Regards

Matt

Hi Matt,

Thank you for the reply.

I believe the issue occurs when using ‘AUTOCONN=1’ and more then one BT device is known by the BC127 but one of the BT has since unpaired itself with the BC127.

This is my procedure to reproduce using any two BT devices and a BC127-HD.

On your BT devices make sure they are not paired with the BC127.

Clear the paired BT devices on the BC127.

UNPAIR
OK
RESET
BlueCreation Copyright 2017
Melody Audio V6.1.5 HD
Build: 1496941831
Ready
LIST
OK

From the first device pair with the BC127:

PAIR_PENDING
PAIR_OK 88CB8791F5C3
OPEN_OK 11 AVRCP 88CB8791F5C3
OPEN_OK 10 A2DP 88CB8791F5C3
ROLE_OK 88CB8791F5C3 S
AVRCP_PAUSE 11
ABS_VOL 11 43

Power off the BC127, wait for a sign on the BT device of ‘Not Connected’, then power on the BC127.

OPEN_OK 10 A2DP 88CB8791F5C3
ROLE_OK 88CB8791F5C3 M
OPEN_OK 11 AVRCP 88CB8791F5C3
AVRCP_PAUSE 11

Everything is fine at this point, autoconnection of last device is ok.

Put the BC127 into discoverable mode:

DISCOVERABLE ON
OK

From the second device pair with the BC127:

PAIR_PENDING
PAIR_OK 00F46F3AC34C
OPEN_OK 20 A2DP 00F46F3AC34C
ROLE_OK 88CB8791F5C3 M
ROLE_OK 00F46F3AC34C M
OPEN_OK 21 AVRCP 00F46F3AC34C

Power off the BC127, wait for a sign on the BT device of ‘Not Connected’, then power on the BC127.
Two devices auto connected successfully:

OPEN_OK 10 A2DP 88CB8791F5C3
OPEN_OK 20 A2DP 00F46F3AC34C
ROLE_OK 88CB8791F5C3 M
ROLE_OK 00F46F3AC34C M
OPEN_OK 11 AVRCP 88CB8791F5C3
AVRCP_PAUSE 11
OPEN_OK 21 AVRCP 00F46F3AC34C

Next, from the BT device unpair (or forget this device).

CLOSE_OK 11 AVRCP 88CB8791F5C3
LINK_LOSS 10 1
ROLE_OK 00F46F3AC34C M

Power off the BC127, wait for a sign on the BT device of ‘Not Connected’, then power on the BC127.
Now, the BC127 continuosly reports OPEN_ERROR A2DP.

OPEN_OK 10 A2DP 00F46F3AC34C
OPEN_OK 11 AVRCP 00F46F3AC34C
OPEN_ERROR A2DP 
OPEN_ERROR A2DP 
OPEN_ERROR A2DP 
OPEN_ERROR A2DP 
OPEN_ERROR A2DP 
OPEN_ERROR A2DP 
LIST
LIST 00F46F3AC34C A2DP AVRCP
LIST 88CB8791F5C3 A2DP AVRCP
OK
OPEN_ERROR A2DP 
OPEN_ERROR A2DP 
OPEN_ERROR A2DP 
STATUS
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[OFF] BLE[IDLE]
LINK 10 CONNECTED A2DP 00F46F3AC34C SUSPENDED APTX SNK 44100
LINK 11 CONNECTED AVRCP 00F46F3AC34C STOPPED
OK

To get out of the ‘OPEN_ERROR A2DP’ error status remove the non-connected device from the BC127 paired list.

UNPAIR 88CB8791F5C3
OK
list
LIST 00F46F3AC34C A2DP AVRCP
OK

Hi,

I have followed your procedure and it does not appear to be quite as severe as you are experiencing as per the below.

BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready
list
LIST 04C23E048A70 HFP A2DP AVRCP
LIST CC08E0AE578E HFP A2DP AVRCP
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=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 OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB075DD3
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-075DD3
NAME_SHORT=BC75DD3
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

BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready
list
LIST 04C23E048A70 HFP A2DP AVRCP
LIST CC08E0AE578E HFP A2DP AVRCP
OK
unpair
OK
list
OK
PAIR_PENDING  
PAIR_OK 04C23E048A70           //Connecting to a HTC one A9
OPEN_OK 13 HFP 04C23E048A70
OPEN_OK 10 A2DP 04C23E048A70
ROLE_OK 04C23E048A70 S
OPEN_OK 11 AVRCP 04C23E048A70
AVRCP_PAUSE 11
PAIR_PENDING
PAIR_OK CC08E0AE578E          //Connecting to an iPhone 4
OPEN_OK 23 HFP CC08E0AE578E
OPEN_OK 21 AVRCP CC08E0AE578E
ROLE_OK 04C23E048A70 S
ROLE_OK CC08E0AE578E M
OPEN_OK 20 A2DP CC08E0AE578E
ROLE_OK 04C23E048A70 M
ROLE_OK 04C23E048A70 M
ROLE_OK CC08E0AE578E M
ABS_VOL 21 127
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready
OPEN_OK 10 A2DP CC08E0AE578E        //Auto connection to iPhone 4 correctly
OPEN_OK 20 A2DP 04C23E048A70        //Auto connection to HTC correctly
ROLE_OK CC08E0AE578E M
ROLE_OK 04C23E048A70 S
ROLE_OK 04C23E048A70 M
OPEN_OK 11 AVRCP CC08E0AE578E
ABS_VOL 11 127
OPEN_OK 21 AVRCP 04C23E048A70
AVRCP_PAUSE 21
OPEN_OK 23 HFP 04C23E048A70
ROLE_OK CC08E0AE578E M
ROLE_OK 04C23E048A70 S
OPEN_OK 13 HFP CC08E0AE578E
ROLE_OK 04C23E048A70 M
ROLE_OK CC08E0AE578E M
ROLE_OK 04C23E048A70 M
CLOSE_OK 21 AVRCP 04C23E048A70         //Unpair HTC
CLOSE_OK 20 A2DP 04C23E048A70
CLOSE_OK 23 HFP 04C23E048A70
ROLE_OK CC08E0AE578E M
ROLE_OK CC08E0AE578E M
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready
OPEN_OK 10 A2DP CC08E0AE578E          //Auto connect to iPhone 4 correctly
OPEN_OK 11 AVRCP CC08E0AE578E
ABS_VOL 11 127
OPEN_OK 13 HFP CC08E0AE578E
OPEN_ERROR A2DP                     //Single A2DP error, not repeated again
ROLE_OK CC08E0AE578E M
list
LIST CC08E0AE578E HFP A2DP AVRCP
LIST 04C23E048A70 HFP A2DP AVRCP
OK
status
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[OFF] BLE[IDLE]
LINK 10 CONNECTED A2DP CC08E0AE578E SUSPENDED SBC SNK 44100
LINK 11 CONNECTED AVRCP CC08E0AE578E STOPPED
LINK 13 CONNECTED HFP CC08E0AE578E IDLE NB
OK
CLOSE_OK 13 HFP CC08E0AE578E          //Unpaired iPhone 4
CLOSE_OK 11 AVRCP CC08E0AE578E
ROLE_OK CC08E0AE578E M
CLOSE_OK 10 A2DP CC08E0AE578E
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready                         //Reset unit and n auto connection to either of the previously connected devices
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready                        //One more reset to make sure

Regards

Matt

Hi Matt,

From your log it seems to me that you are not using a HD variant of the BC127? Please try again with a BC127-HD.

Cheers.

Hi,

Unfortunately I do not have one but for this pairing exercise I would not expect the codec being used to make a difference.

Regards

Matt

That is unfortunate! For me there is a difference and until we are comparing like for like then I cannot rule out a bug in the BC127-HD code.
Plus, if the difference between BC127 and BC127-HD is only codec why is there a separate firmware package for the BC127-HD?

The software running on my device…
Melody Audio V6.1.5 HD
Build: 1496941831

…compared with the software running on your device…
Melody Audio V6.1.5
Build: 1496939390

…this for me indicates there will be differences.

I would only expect there to be a difference in the codec handling and nothing else (but never say never). You need to request support back through your commercial channel so that we can raise a ticket internally for the development teams to look at.

Regards

Matt

Hi,

This issue should be fixed in the attached release.

Regards

Matt
1507042004_Melody_6_1_8_RC2_STANDARD.zip (1.05 MB)

Hi Matt,

Thanks for the release.

I am using the BC127-HD but I believe you have give me a link for the non-HD variant. Please can you confirm.