From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Subject: Re: [Bluez-users] Multiple RFCOMM connections with 2.4.x kernel From: Marcel Holtmann To: bluez-users@lists.sourceforge.net In-Reply-To: <79ae4fa10508111433c9739cb@mail.gmail.com> References: <79ae4fa10508111433c9739cb@mail.gmail.com> Content-Type: text/plain Message-Id: <1124206470.7466.17.camel@pegasus> Mime-Version: 1.0 Sender: bluez-users-admin@lists.sourceforge.net Errors-To: bluez-users-admin@lists.sourceforge.net Reply-To: bluez-users@lists.sourceforge.net List-Unsubscribe: , List-Id: BlueZ users List-Post: List-Help: List-Subscribe: , List-Archive: Date: Tue, 16 Aug 2005 17:34:30 +0200 Hi Venkat, > I am trying to establish two rfcomm connections between two linux > machines running 2.4.21 kernel. I am using different channel numbers > for both connections. First connection getting established normally. > Second connection fails in the connect() with EBUSY OR EAGAIN. I have > putdown the steps I am doing exactly below. My question is "Can I > establish more than one RFCOMM connection between two machines running > 2.4.x kernels"? It would be very helpful if somecan reply to this. yes, you can. I don't know of a bug in 2.4.21, but you should try the latest 2.6 kernel. > Here is what I am doing: > 1. Start RFCOMM serversocket on Machine1. Its waiting on accept() > 2. Connect from Machine2 to Machine1 using connect(). I am able to > connect to server here. > 3.Start another serversocket on Machine2 on different channelID. Its > waiting on accept() > 4. Try to connect from Machine1 to Machine2 using connect(). This > fails with EAGAIN or EBUSY as long as the connection established in > step 2 remains. Provide some example code and the output of "hcidump -X -V" on the server machines. Regards Marcel ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users