gokanmadan / pybluez

Automatically exported from code.google.com/p/pybluez
GNU General Public License v2.0
0 stars 0 forks source link

Wrong friendly name discovered when using WIDCOMM BT stack #41

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Perform an inquiry on a product with friendly name "FriendlyNameAlpha" and 
with a fixed address (using examples/simple/inquiry.py
2. Change the friendly name of the product to "FriendlyNameBeta", but leave its 
address intact
3. Perform an inquiry on the product with the same fixed address (using 
examples/simple/inquiry.py)

What is the expected output? What do you see instead?
You should now see "FriendlyNameBeta" instead of "FriendlyNameAlpha"

What version of the product are you using? On what operating system?
We are using PyBluez 0.18 on Windows -> Widcomm stack.

Using the Windows software provided by the manufacturer(Broadcomm) this does 
not happen.

Original issue reported on code.google.com by cci...@gmail.com on 2 Feb 2011 at 4:00

GoogleCodeExporter commented 8 years ago
Actually, the error seems to lie in the fact that we receive both 
"FriendlyNameAlpha" (first) as well as "FriendlyNameBeta"...
So for the same inquiry we receive some erroneous information first from cache, 
and then real information!

Original comment by rsavu...@gmail.com on 2 Feb 2011 at 4:47