2007-10-08 14:07:45

by Fabien Chevalier

[permalink] [raw]
Subject: [PATCH] a2dp cross connect issues

Johan, Luiz, Brad, Marcel,

Here is finally the patch that fixes the a2dp cross connect issues.

I appended a log that exposes the behaviour of the patch.

Happy reviewing !!

Cheers,

Fabien

Oct 8 15:58:56 tannat audio[12402]: stream creation in progress
Oct 8 15:58:57 tannat audio[12402]: connect(): Connection refused (111)
Oct 8 15:58:57 tannat audio[12402]: avdtp_unref(0x8066eb0): ref=2
Oct 8 15:58:57 tannat audio[12402]: connect:connect XCASE detected
Oct 8 15:58:57 tannat audio[12402]: avdtp_unref(0x8066eb0): ref=1
Oct 8 15:58:57 tannat audio[12402]: avdtp_unref(0x8066eb0): ref=0
Oct 8 15:58:57 tannat audio[12402]: avdtp_unref(0x8066eb0): freeing
session and removing from list
Oct 8 15:58:57 tannat audio[12402]: AVDTP: incoming connect from
00:18:13:E7:6D:4F
Oct 8 15:58:57 tannat audio[12402]: Requesting authorization for device
00:18:13:E7:6D:4F, UUID 0000110D-0000-1000-8000-00805F9B34FB
Oct 8 15:58:57 tannat audio[12402]: session_cb
Oct 8 15:58:57 tannat audio[12402]: Received DISCOVER_CMD
Oct 8 15:58:57 tannat audio[12402]: session_cb
Oct 8 15:58:57 tannat audio[12402]: Received GET_CAPABILITIES_CMD
Oct 8 15:58:57 tannat audio[12402]: SBC Source: Get_Capability_Ind
Oct 8 15:58:57 tannat audio[12402]: session_cb
Oct 8 15:58:57 tannat audio[12402]: Received SET_CONFIGURATION_CMD
Oct 8 15:58:57 tannat audio[12402]: SBC Source: Set_Configuration_Ind
Oct 8 15:58:57 tannat audio[12402]: avdtp_ref(0x8066eb0): ref=2
Oct 8 15:58:57 tannat audio[12402]: stream state changed: IDLE ->
CONFIGURED
Oct 8 15:58:57 tannat audio[12402]: session_cb
Oct 8 15:58:57 tannat audio[12402]: Received OPEN_CMD
Oct 8 15:58:57 tannat audio[12402]: SBC Source: Open_Ind
Oct 8 15:58:57 tannat audio[12402]: stream state changed: CONFIGURED ->
OPEN
Oct 8 15:58:57 tannat audio[12402]: AVDTP: incoming connect from
00:18:13:E7:6D:4F
Oct 8 15:58:57 tannat audio[12402]: session_cb
Oct 8 15:58:57 tannat audio[12402]: Received START_CMD
Oct 8 15:58:57 tannat audio[12402]: SBC Source: Start_Ind
Oct 8 15:58:57 tannat audio[12402]: avdtp_ref(0x8066eb0): ref=3
Oct 8 15:58:57 tannat audio[12402]: stream state changed: OPEN -> STREAMING
Oct 8 15:58:59 tannat audio[12402]: Stream successfully created, after
XCASE connect:connect


Attachments:
a2dp-cross-connect-fix.patch (4.07 kB)

2007-10-09 08:02:50

by Fabien Chevalier

[permalink] [raw]
Subject: Re: [Bluez-devel] [PATCH] a2dp cross connect issues

Marcel Holtmann wrote:
> Hi Fabien,
>
>> Here is finally the patch that fixes the a2dp cross connect issues.
>
> looks good to me. Convince Johan to agree and make him commit it.
>

Good!
I will do :-)

Cheers,

Fabien

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

2007-10-08 16:51:15

by Marcel Holtmann

[permalink] [raw]
Subject: Re: [Bluez-devel] [PATCH] a2dp cross connect issues

Hi Fabien,

> Here is finally the patch that fixes the a2dp cross connect issues.

looks good to me. Convince Johan to agree and make him commit it.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel