You may want to think twice about embarking on this project.  A number of researchers have tried this before without much success.  See here, for example:

http://anil.recoil.org/papers/2005-ubicomp-bluetooth.pdf

A Study of Bluetooth Propagation Using
Accurate Indoor Location Mapping

Abstract. The ubiquitous computing community has widely researched
the use of 802.11 for the purpose of location inference. Meanwhile, Bluetooth
is increasingly widely deployed due to its low power consumption
and cost. This paper describes a study of Bluetooth radio propagation
using an accurate indoor location system to conduct fine-grained signal
strength surveys. We discuss practical problems and requirements encountered
setting up the infrastructure using the ultrasonic Active Bat
indoor location system, and limitations of the commodity Bluetooth devices
used.We conclude that Bluetooth is poorly suited to the purpose of
fine-grained, low latency location inference due to specification and hardware
limitations, and note that the movement speed of mobile devices is
an important factor in calculating available bandwidth. We publish our
data sets of signal strength samples for the community to freely use in
future research.

Good luck to you if you still persist.

-albert

On 10/25/05, Marcel Holtmann <marcel@holtmann.org> wrote:
Hi Arpit,

> these chips are Broadcom based. So you must ask them how they
> implemented the link quality value.
>
> How is the implementation vendor specific?Does it mean that some
> vendors don't support Link Quality?Or does it mean that there are
> other ways of getting the LQ value?

the link quality value is vendor specific. Every manufacturer can
implement it as they like. Read the specification for details.

> Check "hciconfig hci0 features" if they support "Inquiry with RSSI".
> [root@175-214 ~]# hciconfig hci0 features
> hci0:   Type: USB
>         BD Address: 00:10:60:B3:2C:F7 ACL MTU: 377:10 SCO MTU: 16:0
>         Features: 0xff 0xfe 0x0d 0x38 0x08 0x08 0x00 0x00
>                 <3-slot packets> <5-slot packets> <encryption> <slot
> offset>
>                 <timing accuracy> <role switch> <hold mode> <sniff
> mode>
>                 <RSSI> <channel quality> <SCO link> <HV2 packets>
>                 <HV3 packets> <u-law log> <A-law log> <CVSD> <power
> control>
>                 <transparent SCO> <enhanced iscan> <interlaced iscan>
>                 <interlaced pscan> <AFH cap. slave> <AFH cap. master>
>
> Well looks like it does support RSSI...but RSSI values change
> abruptly..for the same distance the RSSI might be -9 and the after ten
> seconds its -2 so I can't use RSSI.

But they don't support "Inquiry with RSSI" which might be more usable.
However ask Broadcom why this is so?

> Do you suggest I try the LQ value with some other bluetooth
> adaptors?Any idea as to which model would support the link quality
> feature?

The link quality is supported by every Bluetooth chip, but what this
value means is up to the manufacturer. Read the specification to
understand what this means.

Get yourself two CSR based dongles and try again.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.
Get Certified Today * Register for a JBoss Training Course
Free Certification Exam for All Training Attendees Through End of 2005
Visit http://www.jboss.com/services/certification for more information
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users