From 1369c3fcb52c7e6500bf52ecfddf113747f05047 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Sun, 01 Oct 2023 10:52:07 -0400 Subject: New upstream version 0.2.7 --- (limited to 'gatt/gatt.py') 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 * -- cgit v0.9.1