Return-Path: From: Marcel Holtmann To: BlueZ users In-Reply-To: References: <1192630825.6184.17.camel@violet> <1196055392.4217.41.camel@aeonflux> Date: Tue, 27 Nov 2007 09:29:21 +0100 Message-Id: <1196152161.17196.20.camel@aeonflux> Mime-Version: 1.0 Subject: Re: [Bluez-users] concurrent calls to RFCOMM connect() Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net Hi Andrea, > > It serializes connection attempts to different remote devices. If you > > try to connect to the same remote device (by opening the same TTY twice) > > then you are out of luck. The kernel is not doing anything here. > > My question was not clear enough... In my test I try to connect to a > different remote address while in progress with the first one (both > powered off). I do it like this: > > Terminal 1: > $> rfcomm connect 00:01:95:07:30:EA > > Terminal 2 (while the first attempt is in progress): > $> rfcomm connect 00:01:95:07:30:40 > Can't connect RFCOMM socket: Device or resource busy > > Does it mean my kernel and/or my bluez-utils are too old to queue > connection attempts? I think your kernel is too old, because we fixed that. However the kernel only queues the attempt. It won't make it faster since we can't serialize the baseband/radio. > > You need to read the specification since clearly you are guessing here > > behavior. The various timeouts can be configured. Or maybe get a book > > that explains the basics behind the Bluetooth radio. > > I'm going to follow your suggestions, even if I believe the > specification is too intricated for me. Maybe a book is a better > choice. Thanks for patience. There exist a bunch of books that are good enough. Actually the might be even better then the raw specification document. Regards Marcel ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users