public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
* [Bluez-devel] Inquiry result with rssi in bluez libs 2.7
@ 2004-05-11 12:34 Rognlien Dag Kristian
  2004-05-12 13:29 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Rognlien Dag Kristian @ 2004-05-11 12:34 UTC (permalink / raw)
  To: BlueZ Mailing List


Hello,

I see that hci.h has

#define EVT_INQUIRY_RESULT_WITH_RSSI  0x02

The bluetooth 1.2 spec defines this event code as 0x22

Is this a typo, or is there a reason why it is set as 0x02 in hci.h?

Regards,
Dag K. W. Rognlien
M.Sc. Computer Engineering
SINTEF ICT
Communication Systems


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [Bluez-devel] Inquiry result with rssi in bluez libs 2.7
  2004-05-11 12:34 [Bluez-devel] Inquiry result with rssi in bluez libs 2.7 Rognlien Dag Kristian
@ 2004-05-12 13:29 ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-05-12 13:29 UTC (permalink / raw)
  To: Rognlien Dag Kristian; +Cc: BlueZ Mailing List

Hi Dag,

> I see that hci.h has
> 
> #define EVT_INQUIRY_RESULT_WITH_RSSI  0x02
> 
> The bluetooth 1.2 spec defines this event code as 0x22
> 
> Is this a typo, or is there a reason why it is set as 0x02 in hci.h?

this was a stupid typo and fixed in CVS now. Thanks for finding it.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Bluez-devel] Inquiry result with rssi in bluez libs 2.7
@ 2004-05-12 13:54 Rognlien Dag Kristian
  2004-05-12 17:25 ` Marcel Holtmann
  0 siblings, 1 reply; 4+ messages in thread
From: Rognlien Dag Kristian @ 2004-05-12 13:54 UTC (permalink / raw)
  To: BlueZ Mailing List

Hi,

> -----Original Message-----
> From: Marcel Holtmann [mailto:marcel@holtmann.org] 
> 
> this was a stupid typo and fixed in CVS now. Thanks for finding it.
> 

While I have your attention on this subject...

In the hci_event.c in net/bluetooth the hci_inquiry_result_with_rssi_evt
function just ignores the rssi value, and files the values of a normal
inquiry_info struct. Is there a plan for how the rssi values should be made
available to the user mode application calling ioctl with HCIINQURY? As far
as I can see there are now way for an application to get this value now.

Regards,
Dag K. W. Rognlien
M.Sc. Computer Engineering
SINTEF ICT
Communication Systems


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: [Bluez-devel] Inquiry result with rssi in bluez libs 2.7
  2004-05-12 13:54 Rognlien Dag Kristian
@ 2004-05-12 17:25 ` Marcel Holtmann
  0 siblings, 0 replies; 4+ messages in thread
From: Marcel Holtmann @ 2004-05-12 17:25 UTC (permalink / raw)
  To: Rognlien Dag Kristian; +Cc: BlueZ Mailing List

Hi Dag,

> In the hci_event.c in net/bluetooth the hci_inquiry_result_with_rssi_evt
> function just ignores the rssi value, and files the values of a normal
> inquiry_info struct. Is there a plan for how the rssi values should be made
> available to the user mode application calling ioctl with HCIINQURY? As far
> as I can see there are now way for an application to get this value now.

go ahead and write a patch for the Bluetooth core to store the RSSI
value so first it will be exported via /sys in the inquiry_cache. Then
we can think about adding an ioctl that is capable of handling the RSSI
values.

Regards

Marcel




-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-05-12 17:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-11 12:34 [Bluez-devel] Inquiry result with rssi in bluez libs 2.7 Rognlien Dag Kristian
2004-05-12 13:29 ` Marcel Holtmann
  -- strict thread matches above, loose matches on Subject: below --
2004-05-12 13:54 Rognlien Dag Kristian
2004-05-12 17:25 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox