blob: d317c18de282dd81dcef82a3ac10082ebf568ef2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# SPDX-License-Identifier: LGPL-2.1-or-later
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
|