public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Marcel Holtmann <marcel@holtmann.org>
To: akohlsmith-lists@mixdown.ca,
	BlueZ development <bluez-devel@lists.sourceforge.net>
Subject: Re: [Bluez-devel] RSSI value in floating point
Date: Mon, 23 Jun 2008 00:07:38 +0200	[thread overview]
Message-ID: <1214172458.7046.15.camel@violet> (raw)
In-Reply-To: <200806221724.03009.aklists@mixdown.ca>

Hi Andrew,

> >  1. Thanks. That saved me a lot of time
> >  2. Assuming that I purchase a development kit. Would it be possible to
> > modify bluetooth stack to achieve the objective?
> 
> Why?  Is it so difficult to say floatrssi = (float)intrssi/(float)INT_MAX?

so and that gives you anything because? The hardware returns a signed
integer and converting that into float is useless.

Also the RSSI value retrieved from an already established connection is
different than the one you get during inquiry.

Regards

Marcel



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

  reply	other threads:[~2008-06-22 22:07 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-21  3:20 [Bluez-devel] RSSI value in floating point Khairulmizam Samsudin
2008-06-21  4:57 ` Marcel Holtmann
2008-06-22  1:59   ` Khairulmizam Samsudin
2008-06-22 21:24     ` Andrew Kohlsmith (lists)
2008-06-22 22:07       ` Marcel Holtmann [this message]
2008-06-23  1:02         ` Andrew Kohlsmith (lists)
2008-06-22 22:41     ` David Stockwell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1214172458.7046.15.camel@violet \
    --to=marcel@holtmann.org \
    --cc=akohlsmith-lists@mixdown.ca \
    --cc=bluez-devel@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox