Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 2 1 2 >
Topic Options
#361483 - 26/04/2014 11:45 Need help troubleshooting Bluetooth A2DP delay problem.
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
All,

I need help with a Bluetooth A2DP delay problem with my CR-V. Unfortunately, Honda outright refuses to even start to troubleshoot it. So, I thought this would be the best place to turn to next.

I've got a 2014 CR-V LX AWD without Nav and a T-Mobile Samsung Galaxy S4 running KitKat. (FWIW, I can repro with my son's iPod and my Win8 laptop.) The issue is that all audio streamed over A2DP is played on a full 3 second delay. Annoying enough for playing music, it makes it useless if my kids want to play a game or watch a video.

I've got a BT HCI snoop log if that helps. I opened it in Wireshark but don't know what to look for.

Does anyone have any suggestions for what to do next?

Thanks,
Ruben


Edited by rubennyc (26/04/2014 13:12)

Top
#361484 - 26/04/2014 11:57 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
K447
old hand

Registered: 29/05/2002
Posts: 798
Loc: near Toronto, Ontario, Canada
Originally Posted By: rubennyc
... I can repro with my son's iPod and my Win8 laptop...
Each playing through the Honda?

Does the phone have proper Bluetooth audio without delay when working through other cars?

Top
#361485 - 26/04/2014 12:41 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: K447]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
Hi, this is the only BT device where I've ever seen this kind of delay. My phone has no delay at all with my Plantronics headset or any non-Honda car (e.g. Nissan, Toyota, Mercedes, etc.) I've tested.

Edit: Attaching bt snoop logs from my phone: One is for my care with the delay, and one is for my Plantronics Marque 2 headset with no delay as a reference.


Attachments
btsnoop_hci_crv_delayed.log (370 downloads)
btsnoop_hci_Plantronics_good.log (312 downloads)



Edited by rubennyc (26/04/2014 13:15)

Top
#361486 - 26/04/2014 14:05 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
K447
old hand

Registered: 29/05/2002
Posts: 798
Loc: near Toronto, Ontario, Canada
Does the iPod play properly through the Honda?

Top
#361487 - 26/04/2014 14:08 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
Over Bluetooth the iPod and my laptop have the same exact delay, but only in the Honda, not anywhere else.

Top
#361488 - 26/04/2014 14:47 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
K447
old hand

Registered: 29/05/2002
Posts: 798
Loc: near Toronto, Ontario, Canada
Originally Posted By: rubennyc
Over Bluetooth the iPod and my laptop have the same exact delay, but only in the Honda, not anywhere else.
Perhaps you can test this at the dealer in another 2014 Honda with the same radio.

If it also fails there, it is a Honda warranty problem, no?

Top
#361489 - 26/04/2014 14:52 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
Other Hondas and Acuras definitely have this problem. Honda disagrees about it being a "problem" and call it "normal operation." I'm convinced it's a firmware issue, but they refuse to investigate. So, now I'm on my own to try to prove it's a bug. frown

Top
#361490 - 26/04/2014 19:43 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
DWallach
carpal tunnel

Registered: 30/04/2000
Posts: 3810
Does it misbehave when you're making a phone call? A three second latency for music is annoying. For phone calls, it's unusable. That might be your angle to fix this.

(Analogy: back in the day if your phone line had crappy audio quality and it rendered modems unusable, you'd complain that your fax machine wouldn't work, otherwise they'd laugh at you.)

Top
#361491 - 26/04/2014 19:52 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
DWallach, not a bad thought, but the telephone (handsfree) profile works fine. Better still, if I start playing music while on a phone call, there is no delay but the sound quality is garbage.

Top
#361495 - 26/04/2014 22:02 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
DWallach
carpal tunnel

Registered: 30/04/2000
Posts: 3810
A2DP allows for microphone interaction, right? I'll bet something like Skype will use A2DP rather than the handset profile and would then trigger the bug.

Top
#361496 - 26/04/2014 22:11 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
A2DP is just for streaming audio like music. The headset profile is used for phone calls and things like Skype. So, oddly enough, Skype works great.

Top
#361501 - 27/04/2014 06:35 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
Shonky
pooh-bah

Registered: 12/01/2002
Posts: 2009
Loc: Brisbane, Australia
A2DP is one way for audio i.e. a music player. A delay shouldn't be a problem, but it would certainly frustrate me.
_________________________
Christian
#40104192 120Gb (no longer in my E36 M3, won't fit the E46 M3)

Top
#361503 - 27/04/2014 10:26 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: Shonky]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
Originally Posted By: Shonky
A delay shouldn't be a problem, but it would certainly frustrate me.

It's a problem if, as he said, someone is trying to watch video on the device with the audio going through bluetooth, and the audio is delayed 3 seconds. That would be unusable.

Unfortunately I'm not sure what the issue is. It's clearly a problem with the car, and I think you've done your proper diagnostic steps. Have you joined any CRV owners forums?
_________________________
Matt

Top
#361504 - 27/04/2014 12:56 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
CR-V forums haven't been helpful so far. All the docs I've read say A2DP latency can be upwards of 120ms. I'm completely ok with that. But 3000ms is inexcusable.

Top
#361505 - 27/04/2014 15:29 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
jmwking
old hand

Registered: 27/02/2003
Posts: 777
Loc: Washington, DC metro

Top
#361506 - 27/04/2014 16:02 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: jmwking]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA

Top
#361507 - 27/04/2014 16:31 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
I've had the singularity occur where, I google search to find out the solution to a technical problem, and I find the answer here on the EmpegBBS... with the solution having been posted by me. smile
_________________________
Tony Fabris

Top
#361508 - 27/04/2014 17:16 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: tfabris]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
Originally Posted By: tfabris
I've had the singularity occur where, I google search to find out the solution to a technical problem, and I find the answer here on the EmpegBBS... with the solution having been posted by me. smile


That's exactly why I turned here. laugh

For some reason Honda keeps calling it "Normal Operation". When I took it to Consumer Relations, they even went so far as to call it a "Feature." It took all my willpower not to say, "You keep using that word; I do not think it means what you think it means."


Edited by rubennyc (27/04/2014 17:18)

Top
#361509 - 27/04/2014 23:04 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
jmwking
old hand

Registered: 27/02/2003
Posts: 777
Loc: Washington, DC metro


Of course it is! (I love this board for the expertise and favorable signal to noise ratio. I wish I had more to offer the community, but most of y'all are way beyond me. Still, I check in most every day.)

-jk

Top
#361590 - 07/05/2014 13:43 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
FWIW I think I've found the bug in Honda's code. When the Honda sends a "Service Search Attribute Request" for the "Audio Source" service on my phone it's omitting the UUID. The UUID is required. As a result, my phone responds with "Unknown service" and ends up transmitting all audio as generic data.

With the other devices I've tested, the UUID is there, my phone responds with the required information for the Audio Service, and all music gets streamed using RTP (Real Time Protocol).

On phone with Honda now.

Top
#361591 - 07/05/2014 15:44 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Originally Posted By: rubennyc
On phone with Honda now.


Curious to know if you get anywhere with that, and if so, what the hoops were that you had to jump through.

These days, reporting a bug to a software company is usually just opening a ticket with their tech support by phone or by webform. But I have no idea what that path would be with a car company. With vehicle subsystems becoming increasingly dependent upon software, I wonder if car companies are figuring out ways to open those channels somehow, and if so, how they're doing it.

Nice catch, by the way.
_________________________
Tony Fabris

Top
#361592 - 07/05/2014 16:21 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
Tony, I'm still trying to figure out how Honda is organized. In this case, I got nowhere with their "In Car Technology Support" line. Apparently there's a separate "Honda Technology Department", and that's who I spoke to today. They even gave me an email address and a case number so I could send them my traces, screenshots, and novice analysis.

/fingers crossed.

Top
#361593 - 07/05/2014 17:38 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
Wow. You'd think the former would have been the correct one.
_________________________
Tony Fabris

Top
#361594 - 07/05/2014 17:40 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31597
Loc: Seattle, WA
... and your "novice analysis" makes it sound like you understand bluetooth better than the devs who wrote the software. smile
_________________________
Tony Fabris

Top
#361596 - 08/05/2014 08:29 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
sein
old hand

Registered: 07/01/2005
Posts: 893
Loc: Sector ZZ9pZa
Great piece of debugging Ruben, I'm also interested to see how far you will get in trying to get that fixed.

Just to note that iirc the integrated navigation, radio, and bluetooth 'system' in my old 2006 Honda Civic FK3 was all made by Alpine (who actually seem to make a lot of OEM stuff).
_________________________
Hussein

Top
#361601 - 08/05/2014 18:24 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
Thanks guys. Not sure how far I'll get either. Yesterday I made the argument that, if I'm right (which is far from certain), that would mean the Honda Bluetooth for Audio is incompatible with every phone on the market. wink

I expect it's going to be a while before anything happens. At this point I'd feel much better just to hear them say, Yes, it's a bug, we're going to fix it.

I'll keep you posted.

Top
#361627 - 09/05/2014 23:05 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
DWallach
carpal tunnel

Registered: 30/04/2000
Posts: 3810
I've forwarded a link to this thread to a Google Android insider. Dunno if/when they can engineer a workaround, and whether or not that will help you with your Samsung phone, but I'd put my money on Google doing a workaround before I'd put my money on Honda doing a bug fix.

Top
#361631 - 10/05/2014 15:41 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: DWallach]
rubennyc
member

Registered: 27/01/2006
Posts: 142
Loc: New Jersey, USA
Originally Posted By: DWallach
I've forwarded a link to this thread to a Google Android insider. Dunno if/when they can engineer a workaround, and whether or not that will help you with your Samsung phone, but I'd put my money on Google doing a workaround before I'd put my money on Honda doing a bug fix.


I really appreciate that. Right now, I'm anxious to find out if the missing UUID really is the likely cause or something else. For all I know it could be a search string syntax issue, e.g. none of the working traces use colons ":" in the search string.

In the interest of completeness, I'm attaching 3 new traces. These traces include the initial pairing process through to audio playback. One trace is for the Honda, the other two are for a Plantronics bluetooth headset and a Mercedes Benz OEM head unit. Only the Honda has the delay.

Thanks again,
Ruben


Attachments
btsnoop_hci_Honda_3sec_audio_delay.log (328 downloads)
btsnoop_hci_Mercedes_no_audio_delay.log (291 downloads)
btsnoop_hci_plantronics.log (291 downloads)


Top
#361639 - 12/05/2014 02:35 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: rubennyc]
Dignan
carpal tunnel

Registered: 08/03/2000
Posts: 12338
Loc: Sterling, VA
Dan, while you're at it, you should tell them that the AVRCP profile for Android is awful. I have this in-car bluetooth device, and while I've been impressed with the reliability of its A2DP pairing (pretty good so far), the AVRCP profile has been absurdly frustrating.

Half of the time I get in my car, when I try tapping the button to play back audio, I can't start up whatever was playing the last time I played audio (usually my podcatcher). Normally, I'd chalk this up to issues like the app has been in the background too long and was closed, or the system can't assume what the last audio being played was.

The real frustration is when I'm currently playing audio, and tapping the button doesn't pause playback. That's just broken. About half of the time, if I press the main button on that device or try using the forward and back buttons, nothing at all happens. I bought this thing so I could keep my eyes on the road and still skip through audio, but Android is screwing it up.

I'm not blaming the device because I've always had bluetooth issues with Android, especially when it comes to AVRCP.
_________________________
Matt

Top
#361644 - 12/05/2014 07:00 Re: Need help troubleshooting Bluetooth A2DP delay problem. [Re: Dignan]
BartDG
carpal tunnel

Registered: 20/05/2001
Posts: 2616
Loc: Bruges, Belgium
Matt, Thank you, thank you, thank you for bringing this device to my attention. I was looking for something like this for a while now. Well, not actively looking, but thinking "something like this must surely exist?". The only things I could come up with so far were battery powered, and I don't want those. This device seems to fit the bill perfectly. I'm using an iPhone, so hopefully that AVRCP issue you're mentioning won't bother me as much.

Edit: bought one on Amazon. smile


Edited by Archeon (12/05/2014 07:53)
_________________________
Riocar 80gig S/N : 010101580 red
Riocar 80gig (010102106) - backup

Top
Page 1 of 2 1 2 >