[Bluez-devel] dbus-sdp & find_pending_connect

2 messages, 2 authors, 2007-02-15 · open the first message on its own page

[Bluez-devel] dbus-sdp & find_pending_connect

From: Denis KENZIOR <hidden>
Date: 2007-02-15 00:21:56

Marcel,

I'd like to understand why all SDP related functions in dbus-sdp.c call the 
find_pending_connect function?

Effectively this guards against simultaneous SDP connection attempts to the 
same remote device.  My understanding is that BlueZ does not have any 
limitations against multiple simultaneous connections to the same device, and 
neither does the BlueZ sdp daemon.  Commenting out find_pending_connect, I 
can run up to 6 simultaneous SDP queries to another BlueZ implementation 
(this is because sdpd has a queue of up to 5 connections.)  So this leads me 
to wonder why hcid is not allowing this particular case?

-Denis



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

Re: [Bluez-devel] dbus-sdp & find_pending_connect

From: Marcel Holtmann <marcel@holtmann.org>
Date: 2007-02-15 08:10:55

Hi Denis,
I'd like to understand why all SDP related functions in dbus-sdp.c call the 
find_pending_connect function?

Effectively this guards against simultaneous SDP connection attempts to the 
same remote device.  My understanding is that BlueZ does not have any 
limitations against multiple simultaneous connections to the same device, and 
neither does the BlueZ sdp daemon.  Commenting out find_pending_connect, I 
can run up to 6 simultaneous SDP queries to another BlueZ implementation 
(this is because sdpd has a queue of up to 5 connections.)  So this leads me 
to wonder why hcid is not allowing this particular case?
actually I have no idea and I didn't write that piece of code. There
shouldn't be any limitations, but not all remote SDP implementation can
deal with concurrent requests and so we have to be careful.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help