BC127 very slow to respond to AVRCP commands?

I am attempting to develop an application for a BlueCreation BC127 bluetooth module and I am running into trouble with the testing and development.

The purpose is to use the BC127 in “Source” mode, streaming audio from a third party music player, via bluetooth A2DP, to a car stereo headunit so that the audio from the BC127 comes out the car speakers. I intend for the BC127 to receive the AVRCP commands from the car stereo head unit when the user presses things like Next, Previous, Pause, and Play, on either the headunit’s touchscreen or steering wheel. Then when my development board sees those commands arrive as notifications on the BC127 serial port, then it will use a different serial port to send appropriate corresponding commands to the third party music player.

I am able to connect to the BC127 and issue commands via serial terminal. I am also able to upgrade the BC127 firmware with a DFU upgrade, I have upgraded it to Melody version 6.1.5, which is the latest one found on this site: bluecreation.com/firmwareupdates.php

For configuring and monitoring the BC127, I am following the BlueCreation manual for the Melody firmware found here: bluecreation.com/MelodyAudi … ction.html

I have also restored the BC127 to factory default settings with the development console serial terminal commands:

  • RESTORE
  • WRITE
  • RESET

When I pair the BC127 with my test vehicle, which is a 2017 Honda Accord with a factory headunit, A2DP audio streams correctly (on link ID 10) and the BC127 registers that an AVRCP connection exists (on link ID 11). So far so good, but I notice the BC127 exhibits the following problems:

  • When I press “Next Track” or “Previous Track” on the head unit, there is a long pause of random length (as much as 5, 10, 15 or even 30 seconds or more) before the “AVRCP_FORWARD” or “AVRCP_BACKWARD” command appears on the BC127’s serial port.

  • When the user presses “Pause” or “Play” on the head unit, the corresponding “AVRCP_PAUSE” or “AVRCP_PLAY” commands never reach the BC127 at all.

The above problems do not occur when paring different bluetooth devices such as smartphones to the same headunit (the AVRCP commands are received instantly by the smartphones), so the issue is not caused by the head unit.

I have noticed that if I issue the following commands from the development console:

  • SET MUSIC_OLD_AVRCP=ON
  • WRITE
  • RESET

… then the car headunit detects the change, and its touchscreen changes to a simpler mode where there is no track metadata on the screen. At this point the “Next Track” and “Previous Track” features work instantly. Though this is not a successful workaround because the “Play” and “Pause” buttons still do not work, the corresponding “AVRCP_PLAY” and “AVRCP_PAUSE” commands still never reach the BC127. Also, it is not a successful workaround because my intention is to continue development to include track metadata, so I do not wish to use the “OLD_AVRCP” mode, I want to use the new mode that includes track metadata.

Additionally, the head unit is stuck in “Pause” mode and its audio is muted, even though audio streaming is successfully occurring. If the user presses either the “Play” button or the “Pause” button on the on stereo headunit, nothing happens and no commands are sent to the BC127 so there is no way for the user to bring the unit out of “Pause” mode or to unmute the audio.

If I issue the following command at the development console:

MUSIC 11 PLAY

Then the head unit goes out of “pause” mode and begins playing the streaming music, and the BC127 receives an “AVRCP_PLAY” command on its serial port. After that, pressing the pause button on the car stereo headunit works… exactly once only, and then neither play or pause works after that, and the head unit is stuck in pause mode again. I have to issue another command at the development console to unlock it again.

This is also not a successful work around because it requires the development console to resume the music after the user has pressed the pause command on the car stereo head unit. Though I could develop software to keep reissuing the command, it would mean that the user is never able to pause the music and his play/pause buttons don’t work as intended: It’s a catch-22.

This whole situation is pointing to there being some kind of bugs in the BC127 firmware. Either that, or I am missing some crucial configuration or setup command that I must issue to the BC127 to fix this, however I would think that the factory settings (which I restored, above) would be sufficient for this to have basic functionality.

Note that I also had similar problems when the BC127 was running earlier version 5 of the melody firmware, before I performed the DFU upgrade, so this isn’t specific to one version of the firmware.

Can anyone help me with this?

Thanks!

Wow long post. Couple of questions.

  • You say you have ruled the car out because you have test smart phones against the car and they respond immediately. Have you ruled the BC127 out by streaming data from a smart phone to the BC127?
  • Do you have a discovery kit to work with or is this all in your application hardware? If you do have a kit can you try controlling it with the hardware lines on it?
  • What year accord is it? Just trying to get a feel for how old the chipset in it is.

Do you have a log file such as the below showing the issues?With regards te below it is all pretty instantaneous so comparing the config would be useful.

unpair
OK
list
OK
restore
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready
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=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
PAIR_PENDING
PAIR_OK 04C23E048A70
OPEN_OK 10 A2DP 04C23E048A70
ROLE_OK 04C23E048A70 S
OPEN_OK 11 AVRCP 04C23E048A70
OPEN_OK 13 HFP 04C23E048A70
ROLE_OK 04C23E048A70 S
AVRCP_PLAY 11
A2DP_STREAM_START 10
AVRCP_PAUSE 11
AVRCP_PLAY 11
AVRCP_PAUSE 11
A2DP_STREAM_SUSPEND 10
A2DP_STREAM_START 10
AVRCP_PLAY 11
AVRCP_PAUSE 11
A2DP_STREAM_SUSPEND 10
A2DP_STREAM_START 10
AVRCP_PLAY 11
AVRCP_PAUSE 11
A2DP_STREAM_SUSPEND 10
set music_META_DATA=on
OK
A2DP_STREAM_START 10
AVRCP_PLAY 11
AVRCP_MEDIA TITLE: Blank Space
AVRCP_MEDIA ARTIST: Taylor Swift
AVRCP_MEDIA ALBUM: 1989
AVRCP_MEDIA NUMBER: 2
AVRCP_MEDIA TOTAL_NUMBER: -1
AVRCP_MEDIA GENRE: Pop
AVRCP_MEDIA PLAYING_TIME(MS): 231889
AVRCP_MEDIA TITLE: Style
AVRCP_MEDIA ARTIST: Taylor Swift
AVRCP_MEDIA ALBUM: 1989
AVRCP_MEDIA NUMBER: 3
AVRCP_MEDIA TOTAL_NUMBER: -1
AVRCP_MEDIA GENRE: Pop
AVRCP_MEDIA PLAYING_TIME(MS): 231053
AVRCP_MEDIA TITLE: Out of the Woods
AVRCP_MEDIA ARTIST: Taylor Swift
AVRCP_MEDIA ALBUM: 1989
AVRCP_MEDIA NUMBER: 4
AVRCP_MEDIA TOTAL_NUMBER: -1
AVRCP_MEDIA GENRE: Pop
AVRCP_MEDIA PLAYING_TIME(MS): 235860
AVRCP_MEDIA TITLE: All You Had to Do Was Stay
AVRCP_MEDIA ARTIST: Taylor Swift
AVRCP_MEDIA ALBUM: 1989
AVRCP_MEDIA NUMBER: 5
AVRCP_MEDIA TOTAL_NUMBER: -1
AVRCP_MEDIA GENRE: Pop
AVRCP_MEDIA PLAYING_TIME(MS): 193358
AVRCP_PAUSE 11
A2DP_STREAM_SUSPEND 10

Regards

Matt

Matt, thanks so much for the reply and for the astute questions.

To answer your specific questions:

I have not tried connecting a smart phone to the BC127 yet because that would be Sink mode, i.e., phone-to-BC127. The particular issues I’m encountering are in Source mode, i.e., BC127-to-stereo. However I agree that it would be a good diagnostic step to help determine if the problem is limited only to Source mode. Also I should try to get data from other devices I can stream to in Source mode besides the car stereo, such as stereo receivers, bluetooth speakers, and bluetooth headsets. I will endeavor to get data on all those things and report back.

I"m not using the Discovery kit, I’m using this SparkFun board because it had the audio I/O jacks and their necessary supporting circuitry already built in. This board does indeed contain switches on each of the hardware PIO lines. Again, I was in Source mode which I think means that the switches shouldn’t have any effect, but I did see the following behavior: In version 5.x of the Melody firmware, the play/pause switch (PIO 2 I believe?) caused the “AVRCP_PLAY” and “AVRCP_PAUSE” commands to appear on the BC127’s serial port. I think that none of the other switches had any effect in Source mode on either firmware version, and that the play/pause switch had no effect in firmware 6.x. I have a note to myself to retest the switch behavior on version 6.x of the Melody firmware and report back. In all cases, holding down the PIO 0 switch while applying power has been successful at resetting the unit to factory default.

The accord is a 2017 year model. Information about its stereo system is hard to obtain and sketchy, but I think that it supports AVRCP version 1.3 at least, perhaps later. I see from the meoldy 6.x docs that it supports AVRCP 1.6.

I’ll definitely get a log of the configuration and status and post it here as soon as possible.

In the meantime, something else occurred which makes me think that the whole thing might have just been a bad chip. My chip recently stopped responding on the serial port altogether. I’ve overnighted another one of those boards in hopes that had merely gotten a bad unit and that all problems will be solved if I just replace the unit with a new one. I’ll have it hopefully tomorrow and be able to retest everything discussed above.

Thanks!

Hi,

The disckit (link below) also has the audio lines lead out to jacks, I will try to test between two BC127’s, one in sink the other in source to check out the AVRCP channel response times.

https://www.bluecreation.com/product_info.php?products_id=51

Regards

Matt

Ok so I got it working semi reliably and whn it does work it is pretty instantaneous. One of the secrets is to make sure there is no TWS enabled on the unit.

So the source

BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready
OPEN_OK 10 A2DP 20FABB075DD3
ROLE_OK 20FABB075DD3 M
OPEN_OK 11 AVRCP 20FABB075DD3
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=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=0 0 0 1 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
OK
status
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[OFF] BLE[OFF]
LINK 10 CONNECTED A2DP 20FABB075DD3 SUSPENDED SBC SRC 44100
LINK 11 CONNECTED AVRCP 20FABB075DD3 STOPPED
OK
MUSIC 10 PLAY
OK
A2DP_STREAM_START 10
AVRCP_PLAY 11
MUSIC 10 PAUSE
OK
A2DP_STREAM_SUSPEND 10
AVRCP_PAUSE 11

And the sink is

BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready
OPEN_OK 10 A2DP 20FABB019080
ROLE_OK 20FABB019080 S
OPEN_OK 11 AVRCP 20FABB019080
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
status
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[OFF] BLE[IDLE]
LINK 10 CONNECTED A2DP 20FABB019080 SUSPENDED SBC SNK 44100
LINK 11 CONNECTED AVRCP 20FABB019080 STOPPED
OK
A2DP_STREAM_START 10
AVRCP_PLAY 11
A2DP_STREAM_SUSPEND 10
AVRCP_PAUSE 11
A2DP_STREAM_START 10
AVRCP_PLAY 11
MUSIC 10 PAUSE
OK
A2DP_STREAM_SUSPEND 10
AVRCP_PAUSE 11

Regards

Matt

Matt,

Thanks for that information. I will snag one of those disckit boards for continued development.

In the meantime I got a replacement one of the sparkfun boards, upgraded it to Melody 6.1.5, and though its serial communication is working again, it didn’t solve the original “slowness” problem.

I haven’t been able to do the following things yet:

  • Test PIO lines.
  • Test with other devices besides the Honda stereo.

However, I did get a log of the behavior and the config. Here is the log. Please note that the commands at the top are my baseline configuration, coming in from my development code, for what I want the board to be doing as a baseline for compatibility with the third party music player device I’m trying to interface with.

$$$$
ERROR 0x0012
SET AUTOCONN=1
OK
SET PROFILES=0 0 0 1 1 0 0 0 0 0 0 0
OK
SET NAME=Empeg Car
OK
SET NAME_SHORT=Empeg
OK
SET DEEP_SLEEP=OFF
OK
SET ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
OK
SET GPIO_CONFIG=ON 0 255
OK
SET MUSIC_META_DATA=ON
OK
SET CODEC=0 OFF
OK
SET TWS_CONFIG=OFF 0 0
OK
SET AUDIO_ANALOG=15 15 0 OFF
OK
SET MUSIC_OLD_AVRCP=OFF
OK
WRITE
OK
RESET
BlueCreation Copyright 2017
Melody Audio V6.1.5
Build: 1496939390
Ready


(Note: At this point I paired the unit with the Honda):


PAIR_PENDING
PAIR_OK 48F07B571520
OPEN_OK 10 A2DP 48F07B571520
OPEN_OK 11 AVRCP 48F07B571520
ROLE_OK 48F07B571520 S


(Note: At this point I pressed the NEXT TRACK button on the Honda touch screen.)
(It was a very long wait, 30 seconds or more, before the command below appeared.)

AVRCP_FORWARD 11

(Note: Then I got the configuration for this log, below.)

config
AUDIO=0 0
AUDIO_ANALOG=15 15 0 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 12 3 4100 20799 12
GPIO_CONFIG=ON 0 255
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB090770
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=ON
MUSIC_OLD_AVRCP=OFF
NAME=Empeg Car
NAME_SHORT=Empeg
PIN=0000
PROFILES=0 0 0 1 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 0 0
UART_CONFIG=9600 OFF 0
USB_HOST=OFF
VREG_ROLE=1
OK
status
STATE CONNECTED[1] CONNECTABLE[ON] DISCOVERABLE[OFF] BLE[OFF]
LINK 10 CONNECTED A2DP 48F07B571520 SUSPENDED SBC SRC 48000
LINK 11 CONNECTED AVRCP 48F07B571520 STOPPED
OK
list
LIST 48F07B571520 A2DP AVRCP
OK

I find one interesting difference between your config and mine.

Even though my code sets the following configuration on the chip…
SET ENABLE_SPP_SNIFF=OFF 0 0 0 0 0
OK

When I type “config” my chip reports the following back, as if it ignored my configuration numbers:
ENABLE_SPP_SNIFF=OFF 12 3 4100 20799 12
Wheras yours reports the correct values:
ENABLE_SPP_SNIFF=OFF 0 0 0 0 0

I’m wondering if there’s something about my configuration (perhaps something about the Sparkfun board itself) which is somehow using SPP even though I’ve tried to configure it not to.

Regarding the other tests:

  • I’ve paired it with an Onkyo receiver with bluetooth AVRCP 1.3, and I recall that in the version 5.x melody firmware, I was able to get remote control commands (play pause next etc) to come out on the BC127 serial port, but with the 6.x firmware I get nothing from it.
  • The buttons attached to the PIO lines do nothing in the the melody 6.x firmware, but I recall PIO line 2 used to produce a play/pause toggle on the version 5.x firmware.

I just received a BC127-DISCKIT board. Pricey little guy. Very nice that it comes with the FTDI chip built-in, so all I had to do was plug in the USB cable and fire up Putty.

It came with melody version 6.0.40 installed, and it paired up with the Honda stereo quickly. I made no configuration changes, I just took the configuration as-is and watched status in the terminal.

Same. Problem.

Pause and play buttons do nothing, next/previous track buttons either do nothing or they take forever for the AVRCP commands to show up on the serial terminal.

Below is my first session with the board, at its default settings, paired up with the Honda, and the first set of commands I issued.

Note that in the listing below, the “AVRCP_FORWARD 11” and “AVRCP_BACKWARD 11” messages took anywhere from 10 seconds to 30 seconds to appear on the screen after I pressed the corresponding buttons on the Honda stereo.

What I conclude from this is that the BC127 chip and its melody firmware is incompatible with the Honda stereo. It’s some kind of protocol bug. Are you guys aware of this problem? Is there a way you can test it?

list

OK
config

AUDIO=0 0
AUDIO_ANALOG=15 10 ON OFF
AUDIO_DIGITAL=0 44100 64 100A00
AUTOCONN=0
BATT_CONFIG=OFF 145 4250 1500 150
BC_SMART_CONFIG=68E3 28F0 89F7 D93C ON
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 OFF 40 ON
BLE_CONN_PARAMS=128 12 6 40 0 400 50 400 400 61 400 400
CLASS_1=OFF
CMD_TO=20
COD=240404
CODEC=0
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 254
HFP_CONFIG=OFF ON OFF OFF OFF
HIGH_SPEED=OFF OFF
LOCAL_ADDR=20FABB075D8B
MAX_REC=2
MM=OFF OFF 0 OFF OFF OFF OFF OFF
MUSIC_META_DATA=OFF
MUSIC_OLD_AVRCP=OFF
NAME=BC-075D8B
NAME_SHORT=BC75D8B
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 48F07B571520
OPEN_OK 10 A2DP
OPEN_OK 11 AVRCP
ROLE_OK 48F07B571520 S
status

STATE CONNECTED IDLE
LINK 10 CONNECTED A2DP 48F07B571520 SUSPENDED SBC SNK 48000
LINK 11 CONNECTED AVRCP 48F07B571520 STOPPED
OK
version

BlueCreation Copyright 2016
Melody Audio V6.0.40
Build: 1464972430
        Bluetooth address 20FABB075D8B
        Profiles: A2DP AVRCP HFP BLE SPP PBAP MAP
        Codecs: SBC
OK
AVRCP_FORWARD 11
AVRCP_FORWARD 11
AVRCP_BACKWARD 11
AVRCP_FORWARD 11
AVRCP_FORWARD 11
AVRCP_FORWARD 11

What do the Dip Switches on the BC127 DiscKit board control? They’re not documented in the manual and not on the schematic.

Hi,

What DIP switches? There are only jumpers on the board. The schematics are available at the link below.

http://www.blue-creation.com/fdownload.php?file=schematic-prints-1446310809.pdf

With regards the Honda, difficult to test unless we have one.

Regards

Matt

These dip switches here in the attached photo. They are labeled “SW1” on the PCB but I can’t find them documented.



On some versions of boards we used DIP switches to route the UART from the FTDI to the module, we added them to be able to directly connect an external UART (the FTDI chip loads the UART lines so an external connection doesn’t work, you have to disconnect the FTDI chip from the UART lines via the DIP switches (switched to off)).

We didn’t like the DIP switches so changed them to be jumpers on later versions of discovery board. So in the schematic referenced J12 is in place instead of the DIP switches

Regards

Matt

Awesome! That’s a very useful thing to have on the board. So with the dipswitches in the “on” position, the four UART pins are connected, and in the “off” position, the four UART pins are disconnected. Got it.

Regarding your earlier note that you don’t have a Honda to test against… Since I’ve got one, but I don’t have a way to debug the bluetooth communication channel directly, is there any sort of additional bluetooth diagnostic or test method that we can arrange between us so that we can get to the bottom of it? I think it might be in both our best interests: You want a chip that is compatible with all BT gear, and I want to build a device that is able to make use of the chip.

Thanks!

You would need to run a Bluetooth sniffer to see what the communicaton is between the two and try to get it in wireshark format, there loads of sniffers on the net.

Regards

Matt

I have same problem when connecting to Nissan Rogue 2016. I can do forward backward, pause, but play doesn’t work. Melody 6.1.5. I see that there was a bug that was fixed with Melody 5.7 with AVCRP PLAY. I wonder if that migh cripple back in Melody 6

Also tested with BT headset. With MUSIC_OLD_AVRCP=OFF only volume buttons work. With MUSIC_OLD_AVRCP=ON volume button stop working, but pause start working. Play never works. Im also pretty sure it has to be something with Melody software

I just downgraded to Melody 5.8. And play pause works with headset. I don’t think i will be able to connect to car since it requires pass code which i think we can only set with PASSKEY and SSP_CAPS . So its definitely bug in melody 6. Still not sure how open support ticket. How do we open one?