Linux bluetooth development
 help / color / mirror / Atom feed
From: Mahtab Hossain <mahtab_hossain2002@yahoo.com>
To: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] hci_read_rssi command
Date: Tue, 10 Jan 2006 22:45:37 -0800 (PST)	[thread overview]
Message-ID: <20060111064537.14602.qmail@web50514.mail.yahoo.com> (raw)
In-Reply-To: <1136909383.7200.11.camel@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 2507 bytes --]

Hi Marcel,
 
 You are right. I have fedora core 3 in my lab and I think it comes with this version of bluez.
 [root@70-52 mahtab]# rpm -qa bluez*
 bluez-bluefw-1.0-6
 bluez-pin-0.23-3
 bluez-hcidump-1.11-1
 bluez-utils-2.10-2
 bluez-libs-devel-2.10-2
 bluez-libs-2.10-2
 bluez-utils-cups-2.10-2
 
 I thought I had installed the recent bluez packages and was looking into the codes of bluez-2.24 packages. That explains the error.
 Anyway, I could solve the problem of my_hci_read_rssi function - it was a stupid typo. I should have literally copied your hci_read_rssi function rather than typing it myself. But again, I am not fond of your choice of variables either (rq, rp etc. :P which was the reason of my typo). :D
 
 As I will be making a GUI version considering only RSSI, LQ & TPL part, I think I will not go into installing the newer version of bluez (I also work on my ancient Laptop which has bluez-2.4-1).
 I have chosen GTK+ for dealing with the GUI version. Any suggestions on that?
 My work is to record RSSI, LQ and TPL correcponding to a location (i.e. location fingerprint) in a user-friendly way!
 
 Thanks
 Mahtab
 
 
 
Marcel Holtmann <marcel@holtmann.org> wrote: Hi Mahtab,

> My project is to work with rssi/tpl/lq. My initial goal is to read
> them and show them graphically with some handy features!
> 
> I have gone through hcitool.c (most of the code) and tried to exactly
> copy the necessary things only to retrieve RSSI. But, I couldn't call
> "hci_read_rssi" as them. Compiling my program gave this error:
> 
> mySignalScan.c:102: warning: implicit declaration of function
> `hci_read_rssi'
> mySignalScan.c: At top level:
> /tmp/cc4x36ri.o(.text+0x25b): In function `cmd_rssi':
> : undefined reference to `hci_read_rssi'
> collect2: ld returned 1 exit status

looks like you need to install a newer bluez-libs package.

Regards

Marcel




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users



		
---------------------------------
Yahoo! Photos – Showcase holiday pictures in hardcover
 Photo Books. You design it and we’ll bind it!

[-- Attachment #2: Type: text/html, Size: 3105 bytes --]

  reply	other threads:[~2006-01-11  6:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-09  9:25 [Bluez-users] hci_read_rssi command Mahtab Hossain
2006-01-10 16:09 ` Marcel Holtmann
2006-01-11  6:45   ` Mahtab Hossain [this message]
2006-01-11  8:33     ` Marcel Holtmann

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=20060111064537.14602.qmail@web50514.mail.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