From: michael <michael@bungtopia.com>
To: bluez-devel@lists.sourceforge.net
Subject: Re: [Bluez-devel] RSSI from rfcomm
Date: Sun, 29 May 2005 19:48:33 +0930 [thread overview]
Message-ID: <429996F9.6000700@bungtopia.com> (raw)
In-Reply-To: <1117012660.30044.201.camel@pegasus>
Marcel Holtmann wrote:
>Hi Michael,
>
>
>
>>>>Thanks for that. I think I have code that will work now. This is the
>>>>line that I pass to the hci_read_rssi() method:
>>>>hci_read_rssi(client_sock, htobs(rfconn.hci_handle), &rssi, 25000)
>>>>
>>>>My app doesn't have fancy error messages so I spent ages trying to work
>>>>out why it doesnt work, no luck, but rctest gives the error "Can't get
>>>>RFCOMM connection information: Protocol not available (92)"
>>>>
>>>>Do you know what can cause this error, or give me a head start on how to
>>>>track it down?
>>>>
>>>>Im using a complete install of fedora core 3
>>>>
>>>>
>>>maybe your kernel is too old. I added that feature to RFCOMM very late.
>>>
>>>
>>>
>>What version do I need to use this feature??
>>
>>I'm using version 2.6.9-1.667
>>
>>
>
>the first kernel would be 2.6.11 or 2.6.10-mh4.
>
>Regards
>
>Marcel
>
I have upgraded to 2.6.11. Now getsockopt() works ok, but I can't call
hci_read_rssi() without errors! It still says protocol not available.Is
there another way to read the RSSI from RFCOMM?
If anyone is interested in looking over my code - please let me know.
Any help is greatly appreciated..
Thank you
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel
next prev parent reply other threads:[~2005-05-29 10:18 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-14 23:08 [Bluez-devel] Bluetooth v2 Peter Robinson
2005-05-14 23:22 ` Marcel Holtmann
2005-05-14 23:32 ` Peter Robinson
2005-05-15 0:12 ` Marcel Holtmann
2005-05-17 15:35 ` [Bluez-devel] RSSI from rfcomm michael
2005-05-17 21:50 ` Marcel Holtmann
2005-05-24 16:10 ` michael
2005-05-24 17:05 ` Marcel Holtmann
2005-05-25 3:35 ` michael
2005-05-25 9:17 ` Marcel Holtmann
2005-05-29 10:18 ` michael [this message]
2005-05-29 10:36 ` 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=429996F9.6000700@bungtopia.com \
--to=michael@bungtopia.com \
--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