2007-04-07 17:59:30

by Carlos Araujo

[permalink] [raw]
Subject: [Bluez-devel] hci_rssi command

I'm developing a location aplication using bluetooth, then I'll use the bluez, but I didn't find any documment description of its API. I'll use the power level of the received signal to perform this task. I've had headaches trying perform a hci_rssi command. Then I'd like a code example of using hci_rssi command or how to perform an inquiry with rssi. Could you help me.

thanks
__________________________________________________
Fale com seus amigos de gra?a com o novo Yahoo! Messenger
http://br.messenger.yahoo.com/


Attachments:
(No filename) (345.00 B)
(No filename) (164.00 B)
Download all attachments

2007-04-10 11:37:52

by Claudio Takahasi

[permalink] [raw]
Subject: Re: [Bluez-devel] hci_rssi command

On 4/7/07, Carlos Araujo <[email protected]> wrote:
> I'm developing a location aplication using bluetooth, then I'll use the
> bluez, but I didn't find any documment description of its API. I'll use the
> power level of the received signal to perform this task. I've had headaches
> trying perform a hci_rssi command. Then I'd like a code example of using
> hci_rssi command or how to perform an inquiry with rssi. Could you help me.
>
> thanks
> _______________________________________________
> Bluez-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bluez-devel
>
>

Hi Carlos,

there are some D-Bus API docs available at:
http://wiki.bluez.org
http://wiki.bluez.org/wiki/Architecture
http://wiki.bluez.org/wiki/Adapter

you can use c, python, perl, c# or any language that supports D-Bus
bindings to start a device discover procedure. Check the python codes
utils/test/apitest and utils/dbusdef.py, there are some API usage
examples.

Run the dbus-monitor and check the output of the following line:
python -i dbusdef.py
>>>adapter.DiscoverDevices()

BR,
Claudio.
--
---------------------------------------------------------
Claudio Takahasi
Instituto Nokia de Tecnologia - INdT

-------------------------------------------------------------------------
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-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel