Re: [Bluez-devel] can't establish more than two rfcomm connections

Olivier Le Pogam
2007-10-08T16:02:18Z

Hi David,

I think your problem is not BlueZ related.
When your mobile tries to connect to the RFCOMM server, the mobile is in
master mode (initiating the connection), thus the bluetooth dongle is in
slave mode.
When you try to connect a second mobile phone concurrently, it will be the
same but the bluetooth dongle can't have 2 slaves, it can be master with 7
devices and slave with 1.
A solution would be a role-switching, i.e. once connected the mobile becomes
slave & the bluetooth dongle master, however, role-switching is usually not
implemented in mobile phones.
Basically, you can consider have only one RFCOMM connection per dongle from
a mobile phone.
BlueZ experts, don't hesitate to flame me if i'm wrong.

Oli

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/