BC127 disable tws

Hello,

I have a problem with tws when pairing 2 bc127 boards (melody 6.1.5).
The sink part always set a tws profile

OPEN_OK 1A TWS mac addr
ROLE_OK mac addr M
OPEN_OK 11 AVRCP mac addr

but if I pair my phone with the sink part I get a2dp profile

OPEN_OK 10 A2DP mac addr
ROLE_OK mac addr M
OPEN_OK 11 AVRCP mac addr

Of course tws_config is off.
I don’t understand why?
Some help please,
thanks

Frad,

Can you include your full config (config command response) and what phone you are connecting to?

Regards

Matt

Hi,
thank you for your answer.

Here the config response from the sink part:

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 OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB0447FB
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-0447FB
NAME_SHORT=BC447FB
PIN=0000
PROFILES=0 0 1 0 1 0 0 0 0 0 0 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

The source : Samsung galaxy s6 with android 7.0
Like that it’s ok, I have ad2p and avrcp set up.

But when connecting the sink part with a bc127 source, then I have tws set up.
The config of the source bc127 is the same as the sink part exept for the profiles : 0 0 0 1 1 0 0 0 0 0 0 0

thank you for the help,

Fred,

Just re read the posting, the link between the phone and the BC127 will be A2DP, the link between the two BC127’s will be TWS as shown in the diagram at the below link.

http://www.blue-creation.com/MelodyAudio6/docs/bluetooth_profiles/a2dp_avrcp.html#true-wireless-stereo

Regards

Matt

Hi,

Yes I understand that with a phone as source and 2 bc127 sharing sink, it’s tws protocol.
My goal is to have a bc127 as source and another bc127 as sink without phone.

Ok I get it. It was du to the paired device list in memory. So it activates tws automatically even if no phone was connected or with tws_config off.
I cleared paired device list and now it’s ok I have ad2p protocol between both bc127.

But… I get back to a previous issue, by pio on sink part I can pause stream but can’t play…
I tried with 4 differents bc127 modules bought on 2 differents times, so it would be not a hardware issue…
I can’t figure it out…

Any new idea?
thanks

Hi,

Do none of the commands work? I have paired two units and can get the forward and ackward going over AVRCP successfully in both directions.

Source device

version
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
        Bluetooth address 20FABB075DD3
        Profiles: A2DP AVRCP HFP BLE SPP PBAP MAP
        Codecs: SBC
OK
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 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
inquiry 10
PENDING
INQUIRY 20FABB000183 "BC-000183" 240404 -59db
INQUIRY 20FABB000183 "BC-000183" 240404 -61db
INQUIRY 20FABB000183 "BC-000183" 240404 -64db
INQU_OK
pair 20FABB000183
PENDING
PAIR_PENDING
PAIR_OK 20FABB000183
open 20FABB000183 A2DP
PENDING
OPEN_OK 10 A2DP 20FABB000183
ROLE_OK 20FABB000183 M
OPEN_OK 11 AVRCP 20FABB000183
open 20FABB000183 SPP
PENDING
OPEN_OK 15 SPP 20FABB000183
send 15 12345
OK
AVRCP_BACKWARD 11
AVRCP_FORWARD 11
AVRCP_BACKWARD 11
AVRCP_BACKWARD 11
AVRCP_FORWARD 11
AVRCP_FORWARD 11

Sink device

version
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
        Bluetooth address 20FABB000183
        Profiles: A2DP AVRCP HFP BLE SPP PBAP MAP
        Codecs: SBC
OK
status
STATE CONNECTED[0] CONNECTABLE[ON] DISCOVERABLE[ON] BLE[ADVERTISING]
OK
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 ON 150 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=ON
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=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
PAIR_PENDING
PAIR_OK 20FABB075DD3
OPEN_OK 1A TWS 20FABB075DD3
ROLE_OK 20FABB075DD3 S
OPEN_OK 11 AVRCP 20FABB075DD3
OPEN_OK 15 SPP 20FABB075DD3
RECV 15 5 12345
AVRCP_FORWARD 11
AVRCP_FORWARD 11
AVRCP_BACKWARD 11
AVRCP_BACKWARD 11
AVRCP_BACKWARD 11
AVRCP_BACKWARD 11
AVRCP_FORWARD 11
AVRCP_FORWARD 11

Hi,

I tested all pio, I can go forward, backward, vol +, vol -, pause but not play.
The strange thing is that pio for pause and play is the same, so it should make more sense if I couldn’t make both, play and pause.
It looks like the software doesn’t accept only the command play. If I pair the sink part with my phone I can play and pause.
It’s only when it’s paired with a bc127 source that I can only pause.

With your two modules, are you able to pause then play from the sink part?

thanks

Fred,

Ok so its only the play command, I can only get forward/backward to work for some reason I have asked a colleague to have a go as well to check his results.

Regards

Matt

Hi,

Ok, thank you for the tests.
I hope your colleague will find where is the problem.

thank you

Hello,

Is there any news about the play command issue?
I’m really stuck with that.
I can work with the 6.0.54 firmware version but it’s very unstable.
Will there be a new firmware soon with the play command corrected?
An other thing could do the trick, it’s to implemente the “a2dp play on connect” feature.

Thank you

Fred,

There is a build due out end of Feb (at the moment) which does have this specifically fixed. I have tested the test build and the play/pause PIO does work which it did not before.

Regards

Matt

Hello,

Thank you for your reply, it’s a great news!
I will wait for it’s release!

thank you.