linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Bluez-devel] Power Transmit Level
@ 2005-12-05 14:32 Israel Guío Muñoz
  2005-12-05 21:31 ` Marcel Holtmann
  0 siblings, 1 reply; 2+ messages in thread
From: Israel Guío Muñoz @ 2005-12-05 14:32 UTC (permalink / raw)
  To: bluez-devel

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

Hi all,

I am using bluez-libs and utils 2.22 to measure the current transmit power level in my application. I get good results when the power level is over zero, but when a negative value should be returned, I get extremly high values instead; for example, 250. 
My opinion is that this value is treated as unsigned integer when it is a signed integer. I am running on Debian, in case it matters.
If somebody has observed the same, please tell me so. I don't know whether the problem is in my computer or in the stack.

Thanks. 

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Bluez-devel] Power Transmit Level
  2005-12-05 14:32 [Bluez-devel] Power Transmit Level Israel Guío Muñoz
@ 2005-12-05 21:31 ` Marcel Holtmann
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2005-12-05 21:31 UTC (permalink / raw)
  To: bluez-devel

Hi Israel,

> I am using bluez-libs and utils 2.22 to measure the current transmit
> power level in my application. I get good results when the power level
> is over zero, but when a negative value should be returned, I get
> extremly high values instead; for example, 250. 
> My opinion is that this value is treated as unsigned integer when it
> is a signed integer. I am running on Debian, in case it matters.
> If somebody has observed the same, please tell me so. I don't
> know whether the problem is in my computer or in the stack.

take a look at the source code and the Bluetooth specification.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-05 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-05 14:32 [Bluez-devel] Power Transmit Level Israel Guío Muñoz
2005-12-05 21:31 ` Marcel Holtmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).