diff options
Diffstat (limited to 'gatt/gatt.py')
-rw-r--r-- | gatt/gatt.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gatt/gatt.py b/gatt/gatt.py new file mode 100644 index 0000000..d0bdd8e --- /dev/null +++ b/gatt/gatt.py @@ -0,0 +1,11 @@ +import os +import platform + +if platform.system() == 'Linux': + if os.environ.get('LINUX_WITHOUT_DBUS', '0') == '0': + from .gatt_linux import * + else: + from .gatt_stubs import * +else: + # TODO: Add support for more platforms + from .gatt_stubs import * |