Sign in
gfiber
/
vendor
/
opensource
/
bluez
/
c89d0f20d9a4a786cd0346ab35123b2259e4bb5d
/
.
/
test
/
dbusdef.py
blob: f1cd35adb7af2fbd5c5e296d0feaadb568ee13c8 [
file
] [
log
] [
blame
]
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