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

* Re: [Bluez-devel] sdp_connect and co, timing
  2006-04-16 16:01 [Bluez-devel] sdp_connect and co, timing Jan Benes
@ 2006-04-18 12:08 ` Amateur
  0 siblings, 0 replies; 2+ messages in thread
From: Amateur @ 2006-04-18 12:08 UTC (permalink / raw)
  To: bluez-devel

On Sun, Apr 16, 2006 at 06:01:54PM +0200, Jan Benes wrote:
>=20
> 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

On my Broadcom chipped dongle, I do can initiate two connection
request simultaneously. But I found scanning and connect can't
operate properly at the same time. Could this be a hardware
limitation?=20

> 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"?
>=20
> 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)
>=20
> thanks, Jan
>=20
>=20
> -------------------------------------------------------
> This SF.Net email is sponsored by xPML, a groundbreaking scripting langua=
ge
> that extends applications into web and mobile media. Attend the live webc=
ast
> and join the prime developer group breaking into this new coding territor=
y!
> http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat=121642
> _______________________________________________
> Bluez-devel mailing list
> Bluez-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>=20
-------------------------

--=20
You fill a much-needed gap.


-------------------------------------------------------
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