Open GoogleCodeExporter opened 8 years ago
I've got the same problem. When I using Linux evrything is ok. If you want to
discover serwice pys60 you must use this.
services = bluetooth.find_service(address="12:34:56:67:78:56",uuid="0100")
uuid="0100" this is important and allow you to discover that service on linux.
I tried on windows but it allow you to discover only J2Me servicec that is
invisible to normal find_sevrice.
There is another solution for that. You can simply try to connect to servie and
set timeout. If timeout exception occurs then you now that this service doesn't
exist. But sock.timeout in pybluez works only in linux but you can simply wite
that using threading module. You can use port that is never useb for example 30.
I will be grateful if somebody fix that problem with finding services on
windows.
Here i attach some code that works with my phone.
Original comment by Matys.Sp...@gmail.com
on 7 Jul 2012 at 8:56
Attachments:
Original issue reported on code.google.com by
JeanDavi...@gmail.com
on 18 Feb 2010 at 9:57