MUSIC PLAY command on sink device

Hello,

I just upgraded from 6.0.32 to 6.1.4 and MUSIC PLAY is not working on my sink device anymore.

My setup is two BC127’s, one streaming audio to the other. They are both sitting on custom PCBs. On the sink device, I use a button to toggle the PLAY/PAUSE PIO. Previously, the devices auto-connected and I was able to toggle the PIO on the sink device to stream via A2DP from the source. However, now I have to go into the USB interface of the source device and enter MUSIC PLAY to start the stream. On my sink device, the PIO only works to pause the stream. Once paused, I need to enter MUSIC PLAY on the source device to start the stream again.

I need a fix…

Thanks!

Hi,

I am testing between and android phone (source) and a BC127 (sink, running 6.1.4) on a discovery kit.

A2DP_STREAM_SUSPEND 10
MUSIC 10 PLAY     //You need to specify the link identifier
OK
A2DP_STREAM_START 10
AVRCP_PLAY 11

Also the PIO on the board is able to pause and play the track, do you have PIO control turned on (check it through ‘config’)?

Regards

Matt

Hi Matt,

I have GPIO_CONFIG=ON 0 254 for the sink device. The source device has it turned off.

The PIO works on the sink device because it can pause the stream but it cannot play the stream.

Further, I opted to manually push commands over USB to see if its a GPIO issue or an internal issue. MUSIC 10 PLAY and STOP works when inputted into the sender but MUSIC 10 PLAY does not start the stream when inputted into the receiver. However, the console replies with an OK and not an error.

In regards to my hardware setup, this did work with version 6.0.32.

Thanks,
Patrick

Patrick,

I have mine set to GPIO_CONFIG=ON 0 255 nd it definetily is able to pause and play, one thing I have noticed it is quite sensitive with regards the plying and less so with the pausing but that might be the push button.

OPEN_OK 10 A2DP EC107BFCB572
ROLE_OK EC107BFCB572 S
OPEN_OK 13 HFP EC107BFCB572
ROLE_OK EC107BFCB572 S
OPEN_OK 11 AVRCP EC107BFCB572
AVRCP_PAUSE 11
AVRCP_PLAY 11    //Triggered by the GPIO (not the source)
A2DP_STREAM_START 10

Regards

Matt

I just set it to 255 with the same result.

Upon initial pairing, the transmitter outputs:

OPEN_OK 10 A2DP 20FABB02063B
OPEN_OK 11 AVRCP 20FABB02063B
ROLE_OK 20FABB02063B M

…and the MUSIC 10 PLAY command works on the transmitter.

For the receiver, the output is:

OPEN_OK 10 A2DP 20FABB0304B9
OPEN_OK 11 AVRCP 20FABB0304B9
ROLE_OK 20FABB0304B9 S

…and the MUSIC 10 PLAY command does nothing but the console does return OK.

I don’t suspect this would be the issue but for profiles, the receiver is 0 0 3 0 3 0 0 0 0 0 0 0 and transmitter 0 0 0 1 1 0 0 0 0 0 0 0.

I am wondering if there is an additional parameter I haven’t flipped that is new between the 6.0.32 version and 6.1.4.

I do, however, have the MUSIC_OLD_AVRCP command turned off which I don’t recall being in the old version. UPDATE: it doesn’t change my results.

Patrick,

The config of my unit is below to see if you can spot something different on your unit?

config
AUDIO=0 0
AUDIO_ANALOG=15 15 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00
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=20FABB019080
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-019080
NAME_SHORT=BC19080
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

Regards

Matt

Matt,

It doesn’t appear I have any settings out of the ordinary. As a reference, I attached my transmitter and receiver settings. I wonder if its a bug with 2 communicating BC127s.

There’s a thread by fred128 called “bc127 autoplay music” that seems to describe the same issue.

Receiver: (cannot use MUSIC 10 PLAY)

AUDIO=1 1
AUDIO_ANALOG=22 15 1 OFF
AUDIO_DIGITAL=0 44100 32 100A00
AUTOCONN=2
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=ON 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=F F 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=20FABB02063B
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-02063B
NAME_SHORT=BC2063B
PIN=0000
PROFILES=0 0 3 0 3 0 0 0 0 0 0 0
REMOTE_ADDR=20FABB0304B9
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=ON
VREG_ROLE=0

Transmitter:

AUDIO=0 0
AUDIO_ANALOG=8 1 1 OFF
AUDIO_DIGITAL=0 44100 64 100A00
AUTOCONN=2
AUTO_DATA=OFF OFF OFF
BALANCE=100 100
BATT_CONFIG=ON 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=F F 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=OFF 0 254
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB0304B9
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-0304B9
NAME_SHORT=BC304B9
PIN=0000
PROFILES=0 0 0 1 1 0 0 0 0 0 0 0
REMOTE_ADDR=20FABB02063B
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=ON
VREG_ROLE=0

I appreciate your quick responses!

CORRECTION: I am using a BC128 as the transmitter and BC127 as the receiver. Seeing that the BC128 is the same as BC127-EXT, I don’t suspect this to be the issue. Both are running 6.1.4.

I just noticed that when my receiver connects to the transmitter, the receiver outputs:

ROLE_OK 20FABB0304B9 M

I believe it should be an “S”. I am currently trying to figure out how to change that because the profiles were how I had them in version 6.0.32.

UPDATE: Attempted to flip the profiles to see what might change and that doesn’t do anything helpful. It looks like there is some bug for the receiver to tell the transmitter to play.

UPDATE 2: I got the roles reversed but still cant start the transmission from the receiver. I can still, though, start the transmission from the transmitter with MUSIC 10 PLAY.

Upon a status, the RECEIVER outputs:

LINK 10 CONNECTED A2DP 20FABB0304B9 SUSPENDED SBC SNK 48000
LINK 11 CONNECTED AVRCP 20FABB0304B9 STOPPED

and the transmitter:

LINK 10 CONNECTED A2DP 20FABB02063B SUSPENDED SBC SRC 48000
LINK 11 CONNECTED AVRCP 20FABB02063B STOPPED

Patrick,

Te only difference I am seeing is the fact that in all circumstances with my testing the STATUS returned for the audio stream is PAUSED and not STOPPED.

It maybe something to do with the messaging on the AVRCP when the BC127 is acting as a master, not sure. I am trying to get another BC127 kit to test with.

Regards

Matt

Matt,

Thanks for checking it out for me. I’ve played around with my setup more and still encounter the same issue. I’ll verify later on if I correctly copied the correct STATUS.

Thanks,
Patrick

Hi Matt,

Were you able to replicate the bug I was experiencing?

Thanks,
Patrick

Patrick,

Unfortunately I still don’t have a second BC127 kit.

Regards

Matt

Patrick,

I finally got back to this and have worked on it a bit more, one of the secrets is to make sure that TWS is not turned on in any way. I have posted a source/sink session in this posting [url]https://forum.sierrawireless.com/t/bc127-very-slow-to-respond-to-avrcp-commands/9467/1] towards the bottom.

Regards

Matt

Matt,

Is TWS disabled by setting it to “off” in the TWS_CONFIG on both sink and source devices? If that’s the case, I did have it off when I tested and posted my configuration settings on Jun 16. It didn’t seem to do the trick unless setting it to “off” doesn’t fully disable it.

Regards,
Patrick

Patrick,

I though i had the same but for some reason it was activated, if I restored all of the settings and then paired it did not seem to come up, both he source and the sink need to be configured like this.

Regards

Matt