Linux bluetooth development
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] multiple instances of OPUSH server
Date: Mon, 21 Feb 2005 23:56:13 +0100	[thread overview]
Message-ID: <1109026573.7626.14.camel@pegasus> (raw)
In-Reply-To: <200502211623.57809.janice@asti.dost.gov.ph>

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

  reply	other threads:[~2005-02-21 22:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-21  8:23 [Bluez-users] multiple instances of OPUSH server Janice M. Ballesteros
2005-02-21 22:56 ` Marcel Holtmann [this message]
  -- 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

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=1109026573.7626.14.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