Linux bluetooth development
 help / color / mirror / Atom feed
From: Mahtab Hossain <mahtab_hossain2002@yahoo.com>
To: BlueZ users <bluez-users@lists.sourceforge.net>
Subject: Re: [Bluez-users] reading RSSI value with D-Bus Api
Date: Fri, 6 Apr 2007 03:45:10 -0700 (PDT)	[thread overview]
Message-ID: <741183.81968.qm@web50507.mail.re2.yahoo.com> (raw)
In-Reply-To: <80236d750704050236u1e346ea4l54efbbd808955e56@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1633 bytes --]

Hi Emanuele,
Sometimes, the Bluetooth module vendor provides absolute signal strength (like Wi-Fi) rather than the relative RSSI value indicated in Bluetooth Spec. I had one dongle which did just that. You may need to send your inquiry to them as well if it's really the case.

Thanks
Mahtab

Emanuele Novelli <ema.novelli@gmail.com> wrote: Hi Marcel,

I'm referring to this function (from bluez dbus-api) where the rssi parameter is int16

----
void RemoteDeviceFound(string address, uint32 class, int16 rssi)

            This signal will be send every time an inquiry result 
            has been found by the service daemon. In general they
            only appear during a device discovery.
----

you posted in another thread you can use that value to check how close is the remote device to the dongle who does inquiry. Maybe I'm wrong and that's not the correct value to check for this purpose? 
Anyway the third parameter I read with the snipped code I posted is negative.

 -------------------------------------------------------------------------
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-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users


  
---------------------------------
Looking for earth-friendly autos? 
 Browse Top Cars by "Green Rating" at Yahoo! Autos' Green Center.  

[-- Attachment #1.2: Type: text/html, Size: 2134 bytes --]

[-- Attachment #2: Type: text/plain, Size: 345 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users

      parent reply	other threads:[~2007-04-06 10:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-05  9:26 [Bluez-users] reading RSSI value with D-Bus Api Emanuele Novelli
2007-04-05  9:28 ` Marcel Holtmann
2007-04-05  9:36   ` Emanuele Novelli
2007-04-06 10:24     ` Mahtab Hossain
2007-04-06 10:24     ` Mahtab Hossain
2007-04-06 10:24     ` Mahtab Hossain
2007-04-06 10:45     ` Mahtab Hossain [this message]

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=741183.81968.qm@web50507.mail.re2.yahoo.com \
    --to=mahtab_hossain2002@yahoo.com \
    --cc=bluez-users@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