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