Linux bluetooth development
 help / color / mirror / Atom feed
* [Bluez-devel] Master / Slave question
@ 2006-11-25 15:40 Olivier Le Pogam
  2006-11-26 10:13 ` Marcel Holtmann
  0 siblings, 1 reply; 12+ messages in thread
From: Olivier Le Pogam @ 2006-11-25 15:40 UTC (permalink / raw)
  To: bluez-devel


[-- Attachment #1.1: Type: text/plain, Size: 1149 bytes --]

Hi,

I am trying to make 2 mobile phones connected concurrently
to a RFCOMM server. Please note that they don't support
role switching, so as they initiate the communication, they
are always "master".

My RFCOMM server is a forking one so it can virtually
deal with concurrent clients like on TCP.

I have put lm=accept in hcid.conf

If I open a RFCOMM server on channel 14 and try to make
the 2 mobile connect to channel 14, the first is ok, the
second can't connect. I suppose that's normal, because
channel 14 "slave" is busy linux-side with the first
connection and a "slave" can deal with one connection only.

Then I've launched a second server on channel 15 (server
on channel 14 running concurrently), and i try to make
the first mobile connect to channel 14 and the second
to channel 15 : it's the same, only the first can connect.

I think I have a misunderstanding here, as i thought the
"master/slave" was per channel. Does it mean the "slave" status 
is for the whole adaptor, and once a "slave" connection is
open on one channel, it can't receive other connections at all ?

Thanks a lot for your help,
Oli

[-- Attachment #1.2: Type: text/html, Size: 2763 bytes --]

[-- Attachment #2: "AVG certification" --]
[-- Type: text/plain, Size: 151 bytes --]

No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.409 / Virus Database: 268.14.15/550 - Release Date: 24/11/2006


[-- Attachment #3: Type: text/plain, Size: 347 bytes --]

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

[-- Attachment #4: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2006-12-01 15:33 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-25 15:40 [Bluez-devel] Master / Slave question Olivier Le Pogam
2006-11-26 10:13 ` Marcel Holtmann
2006-11-27 20:05   ` Olivier Le Pogam
2006-11-28 10:24     ` Peter Wippich
2006-11-28 11:01       ` Olivier Le Pogam
2006-11-28 11:34         ` Peter Wippich
2006-11-28 12:32           ` Olivier Le Pogam
2006-11-29 12:11             ` Peter Wippich
2006-11-29 22:54               ` Mark S. Townsley
2006-11-30 17:12           ` Andrew Kohlsmith
2006-12-01 13:22             ` Peter Wippich
2006-12-01 15:33               ` Andrew Kohlsmith

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox