From 865c61389094c46ee21f7bb4601ec70b2f526860 Mon Sep 17 00:00:00 2001 From: MDE <59321583+mdevel1@users.noreply.github.com> Date: Sat, 11 Jan 2020 21:50:08 +0100 Subject: [PATCH] filter: Removed UUID conversion Scratch 3.0 sends full UUID for LEGO Boost Extension. If other extensions don't do this, a classifier will be needed. --- scratch_link.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scratch_link.py b/scratch_link.py index cb08ea7..372d7b3 100755 --- a/scratch_link.py +++ b/scratch_link.py @@ -206,7 +206,7 @@ class BLESession(Session): if 'services' in f: for s in f['services']: logger.debug(f"sevice to check: {s}") - given_uuid = UUID(int(s)) + given_uuid = s logger.debug(f"given: {given_uuid}") service_class_uuid = dev.getValueText(0x3) if not service_class_uuid: