All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bluez-users] multiple instances of OPUSH server
  2005-02-18  3:33 [Bluez-users] rfcomm question 3 Ka Kin Cheung
@ 2005-02-18  7:51 ` Janice M. Ballesteros
  0 siblings, 0 replies; 3+ messages in thread
From: Janice M. Ballesteros @ 2005-02-18  7:51 UTC (permalink / raw)
  To: bluez-users

Halu!

How do I enable support for multiple instances of an Obex server. Im using 
OPD. What Im trying to do is setup two OPD servers on my computer. Two 
bluetooth dongles will be used. One of the dongles listen to rfcomm channel 
10 and the other to channel 3. I want one instance of OPD to listen to rfcomm 
channel 10 on /dev/rfcomm0 and the other one to channel 3 on /dev/rfcomm1.

If I run one instance of opd on channel 10, it works fine but when I try to 
run the 2nd opd on channel 3 i get the error message:
opd[4561]: Failed to register BtOBEX server on RFCOMM channel 10. (-1 / 98)
It seems that everytime I run opd, its default rfcomm device is /dev/rfcomm0. 
Note: error 98 stands for " Address already in use "

How do I make OPD run on a specified rfcomm device (say on /dev/rfcomm1)?
I tried looking at the code of OPD but I cant seem to find how to change the 
default rfcomm device. I also tried binding my bluetooth dongles to specified 
rfcomm devices and channels but it still doesnt work.

Any help/insight is greatly appreciated. 
Many thanks. :)

-jan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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

* [Bluez-users] multiple instances of OPUSH server
@ 2005-02-21  8:23 Janice M. Ballesteros
  2005-02-21 22:56 ` Marcel Holtmann
  0 siblings, 1 reply; 3+ messages in thread
From: Janice M. Ballesteros @ 2005-02-21  8:23 UTC (permalink / raw)
  To: bluez-users

Halu!

How do I enable support for multiple instances of an Obex server. Im using 
OPD. What Im trying to do is setup two OPD servers on my computer. Two 
bluetooth dongles will be used. One of the dongles listen to rfcomm channel 
10 and the other to channel 3. I want one instance of OPD to listen to rfcomm 
channel 10 on /dev/rfcomm0 and the other one to channel 3 on /dev/rfcomm1.

If I run one instance of opd on channel 10, it works fine but when I try to 
run the 2nd opd on channel 3 i get the error message:
opd[4561]: Failed to register BtOBEX server on RFCOMM channel 10. (-1 / 98)
It seems that everytime I run opd, its default rfcomm device is /dev/rfcomm0. 
Note: error 98 stands for " Address already in use "

How do I make OPD run on a specified rfcomm device (say on /dev/rfcomm1)?
I tried looking at the code of OPD but I cant seem to find how to change the 
default rfcomm device. I also tried binding my bluetooth dongles to specified 
rfcomm devices and channels but it still doesnt work.

Any help/insight is greatly appreciated. 
Many thanks. :)

-jan


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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] multiple instances of OPUSH server
  2005-02-21  8:23 [Bluez-users] multiple instances of OPUSH server Janice M. Ballesteros
@ 2005-02-21 22:56 ` Marcel Holtmann
  0 siblings, 0 replies; 3+ messages in thread
From: Marcel Holtmann @ 2005-02-21 22:56 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi Janice,

> How do I enable support for multiple instances of an Obex server. Im using 
> OPD. What Im trying to do is setup two OPD servers on my computer. Two 
> bluetooth dongles will be used. One of the dongles listen to rfcomm channel 
> 10 and the other to channel 3. I want one instance of OPD to listen to rfcomm 
> channel 10 on /dev/rfcomm0 and the other one to channel 3 on /dev/rfcomm1.
> 
> If I run one instance of opd on channel 10, it works fine but when I try to 
> run the 2nd opd on channel 3 i get the error message:
> opd[4561]: Failed to register BtOBEX server on RFCOMM channel 10. (-1 / 98)
> It seems that everytime I run opd, its default rfcomm device is /dev/rfcomm0. 
> Note: error 98 stands for " Address already in use "
> 
> How do I make OPD run on a specified rfcomm device (say on /dev/rfcomm1)?
> I tried looking at the code of OPD but I cant seem to find how to change the 
> default rfcomm device. I also tried binding my bluetooth dongles to specified 
> rfcomm devices and channels but it still doesnt work.

I only looked at the opd code once, but I am quite sure that it does not
use the RFCOMM terminal emulation that provides you with /dev/rfcommX
devices and thus this report makes not really sense. Show us what
commands you are using.

Regards

Marcel




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&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-02-21 22:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-21  8:23 [Bluez-users] multiple instances of OPUSH server Janice M. Ballesteros
2005-02-21 22:56 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2005-02-18  3:33 [Bluez-users] rfcomm question 3 Ka Kin Cheung
2005-02-18  7:51 ` [Bluez-users] multiple instances of OPUSH server Janice M. Ballesteros

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.