ShaoyuLee / pybluez

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

More services discoverable by find_service() #46

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. import bluetooth
2. bluetooth.find_service()

What is the expected output? What do you see instead?
Expected is for this bluetooth serial device 
(http://www.hongkongapple.com/167-623-large/obd2-bluetooth-android-.jpg) to get 
an output of available services in the find_service() function.

What version of the product are you using? On what operating system?
Ubuntu Natty x64, Python 2.7.1+, pyBluez 0.18

Please provide any additional information below.
From some researching on that I decided to find a application from the 
bluez-suite which could find the device and I found out the following.

It seems for me that the find_services() function uses the same as the sdptool 
with it's "browse" function. Which also doesn't show any services of my 
BluetoothAdapter. BUT: "sdptool records" does the trick, but tells after 
finding the RFCOMM SPP service that it can't connect to the sdp server of the 
adapter.

Am I using the false function or isn't pybluez supporting my adaptor at all?

Original issue reported on code.google.com by thopie...@gmail.com on 9 Jul 2011 at 1:02

GoogleCodeExporter commented 8 years ago
If it is still valid please reopen

Original comment by karu...@wp.pl on 19 Jan 2014 at 6:24