Power Transmit Level
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.
Marcel Holtmann
maintainerHi Israel,
Quoted 8 lines
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel