资 源 简 介
bluez-python - A BlueZ python binding on top of dbus-python
Requirements
In order to use bluez-python you need following software packages:
Python 2.5 or later
Linux Bluetooth protocol stack (BlueZ)
Python bindings for D-Bus (dbus-python)
Installation
From a command shell:
python setup.py install
Notes
Only supports BlueZ4 API
Checking the doc directory in the BlueZ source package is always a good idea.
Contact
Li Dongyang
For additional information, check the page on the BlueZ wiki:
http://wiki.bluez.org/wiki/bluez-python
an example on discovering devices:
```
#!/usr/bin/env python
import bluez
import gobject
def device_found(address, properties):
print "[ " +