Skip to contentSkip to conversation

hci_rssi command

Bluez-devel Carlos Araujo 2 participants 2 messages Apr 7, 2007 – Apr 10, 2007 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

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/

-------------------------------------------------------------------------
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

#1 lore raw
Quoted 6 lines · Carlos Araujo

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.

Quoted 7 lines

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

Quoted 1 line
Quoted 1 line
Quoted 1 line

adapter.DiscoverDevices()

BR,
Claudio.

Signature · 13 lines
---------------------------------------------------------
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