From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ Mailing List <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] replicate hcitool scan using bluez libs
Date: Wed, 12 Jan 2005 13:18:24 +0100 [thread overview]
Message-ID: <1105532304.7961.58.camel@pegasus> (raw)
In-Reply-To: <b8950797050111232241c3de8b@mail.gmail.com>
Hi Weston,
> I am a little new to the bluez libs etc, and am trying to essentiall
> call functions in the bluez libs to simulate "scan" behaviour of
> hcitool.
>
> At first I thought it was inquiry in hci.h but after running the
> tools, seems like they yeild different results. Also, device_id is id
> of the bluetooth radio in the system?
the "scan" combines the hci_inquiry() with hci_read_remote_name() and
thats it. The source is in hcitool.c at cmd_scan(). And dev_id is the
number of your local HCI device (see "hcitool dev").
Regards
Marcel
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
next prev parent reply other threads:[~2005-01-12 12:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-12 7:22 [Bluez-users] replicate hcitool scan using bluez libs Weston Weems
2005-01-12 12:18 ` Marcel Holtmann [this message]
2005-01-12 15:31 ` Weston Weems
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=1105532304.7961.58.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