Re: RFCOMM sockets

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.devel
Message-ID <[email protected]>
Hi Fabrizio,

> I have 3 embedded devices with temperature sensor. This devices are
> accessed from a pc with linux reading data with rfcomm socket, isn't
> need to make sdp query for channel because rfcomm channels are
> statically assigned (it's lab equipment).
>
> I need to read the 3 devices almost at same time and I've done a  
> little
> C application using GLib IOChannels and non-blocking socket to read
> data from the devices. All works fine but if a device it's off the
> connection to the others it's slow, my impression is it waits timeout
> from the first device.
> I can understand why if I have 3 rfcomm connections issued in
> non-blocking way these influences each other.

because if you have to open ACL baseband connections, then it takes  
time. Especially when they fail. The baseband connections can not be  
done in parallel when it is the same host controller. You can use  
hciconfig to change the page timeout.

Regards

Marcel


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.