From: Marcel Holtmann <marcel@holtmann.org>
To: Marc-Andre Laverdiere-Papineau <m_laverd@alcor.concordia.ca>
Cc: jawbt@yahoogroups.com,
BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] Major slowdown when service discovery+opening a service happens on two systems trying to talk to each other
Date: Sun, 15 Feb 2004 15:31:35 +0100 [thread overview]
Message-ID: <1076855495.14758.49.camel@pegasus> (raw)
In-Reply-To: <Pine.OSF.4.44.0402141959300.358746-100000@alcor.concordia.ca>
Hi Marc-Andre,
> I'm working on an application where every Bluetooth device is trying to
> scan for every other one around, and check if it runs my custom service.
> At the same time, said service is running in another thread, waiting to be
> connected to.
>
> I am using Rococo with Bluez. Kernel RH2.4.28, latest version of BlueZ.
> Belkin FT003 dongles.
>
> When I have one computer having the service opened+performing the scan,
> while the other just performs the scan, things go fine. The scans are
> timely and I can send a message.
>
> However, then I have both computers running the service+the service scan,
> things slow down to a crawl. Actually, it depends on its mood.
> It can take a full minute to have a device scan and a service scan
> completing, or less than 20 seconds! Sometimes, computer a will be able
> to detect computer b, while B still shows no sign of life.
>
> On top of things, if I manage to get it to send a message to its peer, the
> peer will get an Exception :( I was able to fix this by preventing the
> application from doing a service scan at the moment it would send, but
> that didn't fix the weird behaviour on service discovery. This hackaround
> is not sturdy and I don't like it as a general thing.
>
> Has such thing ever happened to any of you? What can I do to fix it?
>
> It looks like Bluetooth won't let me open a connection while doing a
> service scan. Is there limitations on what can be running simultaneously?
> It looks like service scan + opening connections is no good. Should I
> know other ones like that?
please speak in terms of the Bluetooth specification. What are you
doing? Inquiry, page, service discovery or what?
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2004-02-15 14:31 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-15 1:20 [Bluez-users] Major slowdown when service discovery+opening a service happens on two systems trying to talk to each other Marc-Andre Laverdiere-Papineau
2004-02-15 14:31 ` Marcel Holtmann [this message]
[not found] ` <1076900027.403030bbba48f@alcor.concordia.ca>
2004-02-16 8:58 ` Marcel Holtmann
2004-02-16 20:17 ` Marc-Andre Laverdiere-Papineau
2004-02-17 12:52 ` Marcel Holtmann
[not found] ` <1077033023.4032383f0b3d3@alcor.concordia.ca>
2004-02-17 16:10 ` Marcel Holtmann
2004-02-20 20:42 ` Marc-André Laverdière
2004-02-20 23:14 ` Marcel Holtmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1076855495.14758.49.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
--cc=jawbt@yahoogroups.com \
--cc=m_laverd@alcor.concordia.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox