Return-Path: Message-ID: <41430846.4010006@uni-paderborn.de> From: Stefan Mischke MIME-Version: 1.0 To: BlueZ Mailing List Content-Type: text/html; charset=us-ascii Subject: [Bluez-devel] sdp_search and l2cap concurrently Sender: bluez-devel-admin@lists.sourceforge.net Errors-To: bluez-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: List-Post: List-Help: List-Subscribe: , List-Archive: Date: Sat, 11 Sep 2004 16:14:30 +0200 Hi!

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!

Kind regards
Stefan Mischke

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