* [Bluez-devel] Inquiry response containing RSSI
@ 2007-03-15 10:55 Richard Röjfors
2007-03-15 13:01 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: Richard Röjfors @ 2007-03-15 10:55 UTC (permalink / raw)
To: BlueZ development
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone,
Thanks for developing this stack, it works very well I must say!
But I have ran into a small limitation:
I want to do inquiries that contains rssi in the response. (I know it
requires bluetooth >= 1.2).
I have a such dongle from CSR. I bluez from 2.6.20.1 and bluez-libs 3.9
btw. I set the inquiry mode to 1 using the bluez-libs function
hci_write_inquiry_mode.
The interesting thing is that the RSSI makes it up to the inquiry cache
inside the hci_module, but the interface (hci_inquiry, called by ioctl)
only uses the struct inquiry_info, which does not contain RSSI.
So I was thinking of a way to support this, could be to introduce
another more generic IOCTL. Which returns the struct
inquiry_info_with_rssi, or rather a struct of a new type which is the
combination of struct inquiry_info_with_rssi and struct inquiry_info.
What do you think?
- --
Richard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF+SYp9yPqN8x056cRAm7ZAKClpMbse3jCc7eVVxVSUIEsUXHLbwCfWKJx
wmUt/xXy6yZIrI3gNTcNqjQ=
=KE3K
-----END PGP SIGNATURE-----
-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-devel] Inquiry response containing RSSI
2007-03-15 10:55 [Bluez-devel] Inquiry response containing RSSI Richard Röjfors
@ 2007-03-15 13:01 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-03-15 13:01 UTC (permalink / raw)
To: BlueZ development
Hi Richard,
> I want to do inquiries that contains rssi in the response. (I know it
> requires bluetooth >= 1.2).
> I have a such dongle from CSR. I bluez from 2.6.20.1 and bluez-libs 3.9
> btw. I set the inquiry mode to 1 using the bluez-libs function
> hci_write_inquiry_mode.
>
> The interesting thing is that the RSSI makes it up to the inquiry cache
> inside the hci_module, but the interface (hci_inquiry, called by ioctl)
> only uses the struct inquiry_info, which does not contain RSSI.
>
> So I was thinking of a way to support this, could be to introduce
> another more generic IOCTL. Which returns the struct
> inquiry_info_with_rssi, or rather a struct of a new type which is the
> combination of struct inquiry_info_with_rssi and struct inquiry_info.
use the new D-Bus based API. It takes care of everything for you.
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-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-03-15 13:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-15 10:55 [Bluez-devel] Inquiry response containing RSSI Richard Röjfors
2007-03-15 13:01 ` Marcel Holtmann
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.