From c4fada7f6f3a3c9d47efd3606ea786476e1b48e3 Mon Sep 17 00:00:00 2001 From: Philip Peitsch Date: Tue, 23 Aug 2022 18:36:36 +1000 Subject: [PATCH] aioble: Fix missing GattError import in server.py. 2015-01-01 07:45:46.790 INFO Received OLCP_OP_FIRST 2015-01-01 07:45:46.979 ERROR Error in ble_write_listener Traceback (most recent call last): File "aioble/server.py", line 223, in indicate NameError: name 'GattError' isn't defined --- micropython/bluetooth/aioble/aioble/server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/micropython/bluetooth/aioble/aioble/server.py b/micropython/bluetooth/aioble/aioble/server.py index b537638e..39d3a010 100644 --- a/micropython/bluetooth/aioble/aioble/server.py +++ b/micropython/bluetooth/aioble/aioble/server.py @@ -13,6 +13,7 @@ from .core import ( log_error, log_warn, register_irq_handler, + GattError, ) from .device import DeviceConnection, DeviceTimeout