From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] Multiple RFCOMM connections with 2.4.x kernel
Date: Tue, 16 Aug 2005 17:34:30 +0200 [thread overview]
Message-ID: <1124206470.7466.17.camel@pegasus> (raw)
In-Reply-To: <79ae4fa10508111433c9739cb@mail.gmail.com>
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
prev parent reply other threads:[~2005-08-16 15:34 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-11 21:33 [Bluez-users] Multiple RFCOMM connections with 2.4.x kernel venkat akella
2005-08-16 15:34 ` Marcel Holtmann [this message]
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=1124206470.7466.17.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
/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