Linux bluetooth development
 help / color / mirror / Atom feed
From: Pierre-Yves Paulus <py@idlum.be>
To: BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] New Serial DBus API - how to choose dongle used?
Date: Sat, 26 May 2007 19:41:19 +0200	[thread overview]
Message-ID: <4658713F.1020401@idlum.be> (raw)
In-Reply-To: <1180177290.21432.42.camel@aeonflux.holtmann.net>

Hi Marcel,

>> RFCOMM: String ConnectByChannel(String address, byte channel);
>> Serial: No equivalent so far
> 
> simply use ConnectService(<bdaddr>, channel). The pattern matching works
> the that if you give a decimal number that it connects to the specified
> channel.

Nice!

>> So, my question: how do I choose which dongle to use to perform the 
>> connection with the new implementation, in case several are connected to 
>> the system?
> 
> We don't support this. At least not yet. At some point, we might have
> additional methods that let you choose a source address. However that is
> not our priority at the moment.

Ouch, bad luck for me. I hope I'll have time to see if I can add this 
functionnality myself, as I definitely need it. Don't know however if I 
don't lack the ability and knowledge, as I never worked inside BlueZ 
source. How would you rate the difficulty of the work involved to 
implement such a behaviour?

At the moment, the current "no choice" implementation simply always use 
hci0?


Best Regards,
Pierre-Yves

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

      reply	other threads:[~2007-05-26 17:41 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-26 10:21 [Bluez-devel] New Serial DBus API - how to choose dongle used? Pierre-Yves Paulus
2007-05-26 11:01 ` Marcel Holtmann
2007-05-26 17:41   ` Pierre-Yves Paulus [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=4658713F.1020401@idlum.be \
    --to=py@idlum.be \
    --cc=bluez-devel@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