public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] periodic inquiry mode.
Date: Sun, 26 Nov 2006 11:21:09 +0100	[thread overview]
Message-ID: <1164536469.25914.14.camel@aeonflux.holtmann.net> (raw)
In-Reply-To: <d66c3bdf0611251658t6051e1cev487a98786d3671d9@mail.gmail.com>

Hi Uichin,

> I have a real quick question on a periodic inquiry mode defined in
> Bluetooth spec. as of 1.1 standard. It's also called a symmetric
> discovery procedure and we could initiate this by feeding feed min and
> max values for inquiry intervals as well as # of inquiries to be
> performed. However, it's only defined in HCI and I realized that it's
> pretty tough to use it in the application layer (since we're using a
> high level programming using sockets). We recently wrote a paper on
> P2P file sharing using bluetooth and there, we used application layer
> emulation for this periodic inquiry mode; specifically, we used
> HCI_inquiry to discover nodes, but we simply used a socket to listen
> to a port to make a node available for discovery (i.e., implicitly in
> inquiry/page scan mode). Is there any better way that we could
> actually exploit this, yet exploiting high-level programming features
> of Bluez?

the periodic inquiry is exposed of our new D-Bus based API and really
simple to use. You only have to set the adapter into periodic inquiry
mode and then you will receive RemoteDeviceFound and RemoteNameUpdated
signals over D-Bus. Check the dbus-api.txt documentation and the
bluez-gnome package for an example.

Regards

Marcel



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

  reply	other threads:[~2006-11-26 10:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-26  0:58 [Bluez-users] periodic inquiry mode Uichin (Eugene) Lee
2006-11-26 10:21 ` Marcel Holtmann [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-12-13  5:52 Uichin (Eugene) Lee
2006-12-13  8:29 ` 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=1164536469.25914.14.camel@aeonflux.holtmann.net \
    --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