public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* reverse SDP issue
@ 2012-03-19 22:19 Mike
  2012-03-19 22:36 ` Mike
  2012-03-19 23:04 ` Johan Hedberg
  0 siblings, 2 replies; 12+ messages in thread
From: Mike @ 2012-03-19 22:19 UTC (permalink / raw)
  To: linux-bluetooth

Hi,

I notice a change in commit d2920be715974795b51f9cc3279947104da3647b
[1] that changes the "reverse" variable for an SDP query:

 -       device_browse_sdp(device, NULL, NULL, NULL, TRUE);
+       if (device_is_bredr(device))
+               device_browse_sdp(device, NULL, NULL, NULL, FALSE);
+       else
+               device_browse_primary(device, NULL, NULL, FALSE);

You can see the original had reverse as TRUE, but the patch may have
inadvertently changed it to FALSE.  The only reason I notice this is
that for some reason I get a debug output that BlueZ is removing
"0000110d-0000-1000-8000-00805f9b34fb" (ADVANCED_AUDIO_UUID) which
then knocks out my HFP and A2DP profiles.

bluetoothd[766]: src/device.c:device_remove_drivers() UUID
0000110d-0000-1000-8000-00805f9b34fb was removed from device
00:17:E3:3B:4F:DD
bluetoothd[766]: audio/unix.c:unix_device_removed()
unix_device_removed(0x2a0d0358)
bluetoothd[766]: audio/gateway.c:path_unregister() Unregistered
interface org.bluez.HandsfreeGateway on path
/org/bluez/766/hci0/dev_00_17_E3_3B_4F_DD
bluetoothd[766]: audio/source.c:path_unregister() Unregistered
interface org.bluez.AudioSource on path
/org/bluez/766/hci0/dev_00_17_E3_3B_4F_DD

There may be another subtle bug that is the real culprit here (e.g.,
why does removing 0x110d knock out the other profiles), but I thought
I'd check on this first.

Mike

[1] http://git.kernel.org/?p=bluetooth/bluez.git;a=commitdiff;h=d2920be715974795b51f9cc3279947104da3647b

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-03-21 14:27 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-19 22:19 reverse SDP issue Mike
2012-03-19 22:36 ` Mike
2012-03-19 23:04 ` Johan Hedberg
2012-03-20 17:35   ` Vinicius Costa Gomes
2012-03-20 18:27     ` Mike
2012-03-20 18:39       ` Mike
2012-03-20 19:21         ` Mike
2012-03-20 20:18           ` Mike
2012-03-21 12:45     ` Johan Hedberg
2012-03-21 13:11       ` Query on attribute api service object path Jaganath
2012-03-21 14:18         ` Anderson Lizardo
2012-03-21 14:27           ` Jaganath

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox