summaryrefslogtreecommitdiffstats
path: root/test/dbusdef.py
blob: 29cf7ffc0f66fb383153c46e70ff9cda1c82bed6 (plain)
1
2
3
4
5
6
7
import dbus

bus = dbus.SystemBus()

manager = dbus.Interface(bus.get_object('org.bluez', '/org/bluez'), 'org.bluez.Manager')

adapter = dbus.Interface(bus.get_object('org.bluez', manager.DefaultAdapter()), 'org.bluez.Adapter')