Return-Path: Date: Fri, 6 Apr 2007 03:24:29 -0700 (PDT) From: Mahtab Hossain To: BlueZ users In-Reply-To: <80236d750704050236u1e346ea4l54efbbd808955e56@mail.gmail.com> MIME-Version: 1.0 Message-ID: <574272.50665.qm@web50511.mail.re2.yahoo.com> Subject: Re: [Bluez-users] reading RSSI value with D-Bus Api Reply-To: BlueZ users List-Id: BlueZ users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0439180097==" Sender: bluez-users-bounces@lists.sourceforge.net Errors-To: bluez-users-bounces@lists.sourceforge.net --===============0439180097== Content-Type: multipart/alternative; boundary="0-1174760184-1175855069=:50665" Content-Transfer-Encoding: 8bit --0-1174760184-1175855069=:50665 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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 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 --------------------------------- No need to miss a message. Get email on-the-go with Yahoo! Mail for Mobile. Get started. --0-1174760184-1175855069=:50665 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 8bit 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


No need to miss a message. Get email on-the-go
with Yahoo! Mail for Mobile. Get started. --0-1174760184-1175855069=:50665-- --===============0439180097== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------- 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 --===============0439180097== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Bluez-users mailing list Bluez-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bluez-users --===============0439180097==--