Re: [Bluez-devel] New A2DP support : HOWTO ?

Fabien Chevalier
2007-08-17T10:42:45Z

Marcel Holtmann wrote:
> Hi Fabien,
>
>> For some reason my headset tries to start the A2DP stream, connects to
>> RFCOMM channel, and then stops the a2dp stream, while it stays connected
>> to rfcomm (hs profile).
>>
>> To force the use of a2dp i had to reload the audio daemon, and then
>> launch the multimedia player. It then tries to start a2dp stream, and it
>> works.
>
> which headset is this. What about hcitool info output from it.

Sony Ericsson HBH-DS970

/home/fchevalier/bluez-cvs# hcitool info 00:18:13:E7:6D:4F
Requesting information ...
BD Address: 00:18:13:E7:6D:4F
Device Name: HBH-DS970
/home/fchevalier/bluez-cvs# hcitool info 00:18:13:E7:6D:4F
Requesting information ...
BD Address: 00:18:13:E7:6D:4F
LMP Version: 2.0 (0x3) LMP Subversion: 0xe1b
Manufacturer: Texas Instruments Inc. (13)
Features: 0xff 0xfd 0x29 0x78 0x18 0x18 0x00 0x80
<3-slot packets> <5-slot packets> <encryption> <slot
offset>
<timing accuracy> <role switch> <hold mode> <sniff mode>
<park state> <channel quality> <SCO link> <HV2 packets>
<HV3 packets> <u-law log> <A-law log> <CVSD>
<transparent SCO>
<enhanced iscan> <interlaced iscan> <interlaced pscan>
<inquiry with RSSI> <AFH cap. slave> <AFH class. slave>
<AFH cap. master> <AFH class. master> <extended features>

>
>> Btw i got perfect sound quality compared to a2dpd. No small glitches
>> from time to time, just *perfect* sound. :-)
>
> Check the latest CVS. Johan fixed some issues with the AVDTP state
> machine and the plugin interaction.

I just did it. However a2dp streaming dooesn't work anymore : i'm gonna
try to have a look to it...

Fabien