From: Marcel Holtmann <marcel@holtmann.org>
To: bluez-devel@lists.sourceforge.net
Cc: Albert Huang <ashuang@gmail.com>
Subject: Re: [Bluez-devel] Strange hci_get_route() result
Date: Mon, 11 Jul 2005 21:22:01 +0200 [thread overview]
Message-ID: <1121109721.5934.17.camel@notepaq> (raw)
In-Reply-To: <20050711180747.C34033A4@arbetsmyra.dyndns.org>
Hi Albert,
> > check the CVS. I changed the hci_get_route() lately.
>
> My lib is up to date with CVS so that's not the problem.
please try again. What happens if you use NULL as address argument.
> > And the ba is
> > the address of the remote system.
>
> Really? umm, ok. The "manual" by Albert Huang
> http://people.csail.mit.edu/albert/pubs/ashuang-sm-thesis-2005.pdf
> states the opposite. If you happen to already know the bdaddr of a
> *local* adapter you can look up its device id with hci_get_rotue(). I
> guess there is no such handy utility function then?
It is really the remote address. Otherwise this function wouldn't make
any sense. We need to find a local adapter that can connect to the
remote one. This is the reason why it is called *_route().
Use hci_devid() if you wanna get the dev_id of a local adapter when you
know its address.
Regards
Marcel
-------------------------------------------------------
This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening
July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual
core and dual graphics technology at this free one hour event hosted by HP,
AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2005-07-11 19:22 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-10 22:47 [Bluez-devel] Strange hci_get_route() result Ronny L Nilsson
2005-07-11 15:05 ` Marcel Holtmann
2005-07-11 18:07 ` Ronny L Nilsson
2005-07-11 19:22 ` Marcel Holtmann [this message]
2005-07-11 19:31 ` Albert Huang
2005-07-11 19:36 ` Marcel Holtmann
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=1121109721.5934.17.camel@notepaq \
--to=marcel@holtmann.org \
--cc=ashuang@gmail.com \
--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