Skip to content

error accessing bluetooth device(android 2.3.3 with pybluez 0.19 to an Bluetooth enabled RFID reader #50

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. created a python file in android to search the Bluetooth device around and 
connect to a RFID Bluetooth device.
2. The program goes to the discovery mode and gives error 
("bluetooth.btcommon.BluetoothError: error accessing bluetooth device")
3. using basic android phone with android 2.3.3.

What is the expected output? What do you see instead?
Expected output is to search the Bluetooth around and list the device and 
connect to the particular RFID Reader.

What version of the product are you using? On what operating system?
I am Using Android 2.3.3 with PyBluez-0.19-py2.6-linux-armv

Please provide any additional information below.
error come at the near_by device discovery function is executed

// 

File "/mnt/sdcard/sl4a/scripts/cellbot.py", line 51, in scan_bluetooth          
                            self.discovered_devices = 
bluetooth.discover_devices(lookup_names=True)                                 
File 
"/data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/lib-dynlo
ad/bluetooth/bluez.py", line 17, in discover_devices                        
sock = _gethcisock ()                              File 
"/data/data/com.googlecode.pythonforandroid/files/python/lib/python2.6/lib-dynlo
ad/bluetooth/bluez.py", line 276, in _gethcisock                            
raise BluetoothError ("error accessing bluetooth device")                       
                      bluetooth.btcommon.BluetoothError: error accessing 
bluetooth device

//

Original issue reported on code.google.com by prasa...@coresonant.com on 8 Nov 2011 at 6:32

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions