M7350/external/bluetooth/bluez/test/dbusdef.py
2024-09-09 08:57:42 +00:00

16 lines
237 B
Python

import dbus
import bluezutils
bus = dbus.SystemBus()
dummy = dbus.Interface(bus.get_object('org.bluez', '/'), 'org.freedesktop.DBus.Introspectable')
#print dummy.Introspect()
try:
adapter = bluezutils.find_adapter()
except:
pass