public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] sdp_connect and co, timing
@ 2006-04-16 16:01 Jan Benes
  2006-04-18 12:08 ` Amateur
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Benes @ 2006-04-16 16:01 UTC (permalink / raw)
  To: bluez-devel

hello,
I'm trying ot write an application that scans for devices, asks for
name and services and eventually sends some files/data. I'm running in
threads. I've already discovered that I must use exclusive access to
the dongle during connection-time. I also don't do any connecting
while asking for services or scanning for devices. Still, sometimes,
the sdp_connect fails to connect for some time. Also, rarely, the
inquiry fails. Is it possible that there needs to be some time gap
between such requests? Do scanning/asking for
services/connectiong/sending cause "collisions"?

PS: also, what are the possible responses from a sdp_connect (or the
respective socket functinos from the function itself. I can't find
them anywhere)

thanks, Jan


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

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

end of thread, other threads:[~2006-04-18 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-16 16:01 [Bluez-devel] sdp_connect and co, timing Jan Benes
2006-04-18 12:08 ` Amateur

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