* [Bluez-users] rfcomm - multiple connections to 1 pocketPC from 2 seperate bluetooth-dongles
@ 2005-05-10 23:08 Pieter De Mil
2005-05-11 0:05 ` Brad Midgley
2005-05-11 9:56 ` Marcel Holtmann
0 siblings, 2 replies; 3+ messages in thread
From: Pieter De Mil @ 2005-05-10 23:08 UTC (permalink / raw)
To: bluez-users
Hello,
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?
Regards,
Pieter
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-users] rfcomm - multiple connections to 1 pocketPC from 2 seperate bluetooth-dongles
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
1 sibling, 0 replies; 3+ messages in thread
From: Brad Midgley @ 2005-05-11 0:05 UTC (permalink / raw)
To: bluez-users
Pieter,
It may be that you need to force a role change from the ppc. Some radios
can connect to multiple *slave* devices only. By default, the host
initiating the connection is the master.
If that is it, how you make the role change happen is probably a
question of how to do it from pocketpc.
Brad
Pieter De Mil wrote:
> Hello,
>
> 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?
>
> Regards,
> Pieter
>
>
>
>
> -------------------------------------------------------
> 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
-------------------------------------------------------
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Bluez-users] rfcomm - multiple connections to 1 pocketPC from 2 seperate bluetooth-dongles
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
1 sibling, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2005-05-11 9:56 UTC (permalink / raw)
To: bluez-users
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-05-11 9:56 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.