[pulseaudio-discuss] [PATCH] bluetooth: separate HSP and HFP

Johan Hedberg johan.hedberg at gmail.com
Sat Aug 20 19:23:05 UTC 2016


Hi,

On Sat, Aug 20, 2016, James Bottomley wrote:
> > To clarify, is the problem that bluez has some arbitrary limitation
> > that it's not possible to connect both HFP and HSP? AFAIK bluetooth
> > doesn't allow two simultaneous audio streams, but I guess that's not
> > the problem here?
> 
> No, the problem is establishing the rfcomm link.  I *think* it's
> actually an intrinsic limitation of the device.
> 
> >  Would it be possible to fix this in bluez? (I'm not asking you to 
> > fix it, I'm just trying to understand the situation - my old
> > understanding was that bluez would support connecting both
> > profiles.)
> 
> I get a connection refused error directly from the device when I try to
> establish a HSP rfcomm link after establishing a HFP one, so I don't
> think bluez can work around this (except by managing the switching, I
> suppose, which would be complex).

It makes sense that devices would block this. The reason is the SCO link
used for the audio - there's no way to associate it with a specific
profile, so if both are connected the ownership would be ambiguous.

Johan


More information about the pulseaudio-discuss mailing list