* [Bluez-users] Multiple RFCOMM connections with 2.4.x kernel
@ 2005-08-11 21:33 venkat akella
2005-08-16 15:34 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: venkat akella @ 2005-08-11 21:33 UTC (permalink / raw)
To: bluez-users
Hi
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.
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.
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-users] Multiple RFCOMM connections with 2.4.x kernel
2005-08-11 21:33 [Bluez-users] Multiple RFCOMM connections with 2.4.x kernel venkat akella
@ 2005-08-16 15:34 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-08-16 15:34 UTC (permalink / raw)
To: bluez-users
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-08-16 15:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox