From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] rfcomm - multiple connections to 1 pocketPC from 2 seperate bluetooth-dongles
Date: Wed, 11 May 2005 11:56:52 +0200 [thread overview]
Message-ID: <1115805412.11503.22.camel@pegasus> (raw)
In-Reply-To: <003c01c555b5$31b193d0$8300a8c0@priveiqvfluhp9>
Hi Pieter,
> I'm using rfcomm 2.15 to make a connection from Linux to a
> PocketPc(00:04:3E:68:3C:6B). I can do this for one connection. But when I
> plug in a second bluetooth-dongle in my linuxPC, I can't establish a second
> rfcomm connection with the same PocketPc.
>
> Scenario 1:
> BT1 ------- PocketPC : ok
> channel0
>
> Scenario 2:
> BT2 ------- PocketPC : ok
> channel1
>
> Scenario 3: not ok
>
> channel0
> BT1 ----------|
> |
> PocketPC
> |
> BT2 ----------|
> channel1
>
> Someone tried this?
first you need to separate the two rfcomm calls and tell them what
dongle should they use.
rfcomm -i hci0 connect rfcomm0 <bdaddr> <channel>
rfcomm -i hci1 connect rfcomm1 <bdaddr> <channel>
Now you may have the problem that the pocket PC is not capable of
dealing with scatternets (as Brad said) or you can't connect to the same
RFCOMM channel twice.
For the scatternet part you should check with "hcitool info" as root
what kind of chip is in that PocketPC. For the double channel problem,
there might be no choice if it does not offer two serial profiles. Of
course you can try to use the dialup profile instead or write your own
application that runs on the PocketPC and provides you with two RFCOMM
channels for your special use.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
prev parent reply other threads:[~2005-05-11 9:56 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-10 23:08 [Bluez-users] rfcomm - multiple connections to 1 pocketPC from 2 seperate bluetooth-dongles Pieter De Mil
2005-05-11 0:05 ` Brad Midgley
2005-05-11 9:56 ` Marcel Holtmann [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1115805412.11503.22.camel@pegasus \
--to=marcel@holtmann.org \
--cc=bluez-users@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox