From: Marcel Holtmann <marcel@holtmann.org>
To: Stefan Mischke <survivor@uni-paderborn.de>
Cc: BlueZ Mailing List <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] sdp_search and l2cap concurrently
Date: Sun, 12 Sep 2004 16:02:29 +0200 [thread overview]
Message-ID: <1094997749.5695.13.camel@pegasus> (raw)
In-Reply-To: <41430846.4010006@uni-paderborn.de>
Hi Stefan,
> I've written a small library which uses the JNI to bring BlueZ to
> Java. Upon that, I'm writing a small "Location Aware
> Web-Service"-Demo. So my ClientApp has a DiscoveryThread which does
> non-cached inquiry and sdp_search() all the time, and an UpdateThread
> which uses the DiscoveryInfo to connect to the servers, measure RSSI
> and LQ and transmit the websites via L2CAP. Everything works fine
> while all devices are good in range, but if one device is at the edge
> of the range, sdp_search() blocks the DiscoveryThread and also seems
> to cripple/block the UpdateThread. I don't know why. I have seen that
> there is a hard coded 20s timeout in sdp_read_resp(). Is there a way
> to decrease this timeout or to make it a settable parameter in future
> versions? Anyway, sdp should not cripple l2cap, shold it? Any
> suggestions? Thanks in advance!
what do you mean by cripple L2CAP and use it concurrently. Explain in
more detail what your program is really doing and check how many low
level HCI connections are opened at the same time.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2004-09-12 14:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-11 14:14 [Bluez-devel] sdp_search and l2cap concurrently Stefan Mischke
2004-09-12 14:02 ` Marcel Holtmann [this message]
2004-09-12 14:55 ` Stefan Mischke
2004-09-14 14:15 ` Stefan Mischke
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=1094997749.5695.13.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-devel@lists.sourceforge.net \
--cc=survivor@uni-paderborn.de \
/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