Re: [Bluez-users] periodic inquiry mode.

Marcel Holtmann
2006-11-26T10:21:09Z

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