diff --git a/bumble/l2cap.py b/bumble/l2cap.py index 7a2ca2bf..a615bf26 100644 --- a/bumble/l2cap.py +++ b/bumble/l2cap.py @@ -20,11 +20,11 @@ import struct from colors import color +from pyee import EventEmitter from .core import BT_CENTRAL_ROLE, InvalidStateError, ProtocolError from .hci import (HCI_LE_Connection_Update_Command, HCI_Object, key_with_value, name_or_number) -from .utils import EventEmitter # ----------------------------------------------------------------------------- # Logging diff --git a/bumble/rfcomm.py b/bumble/rfcomm.py index 527eaf1c..be4d4069 100644 --- a/bumble/rfcomm.py +++ b/bumble/rfcomm.py @@ -17,9 +17,10 @@ # ----------------------------------------------------------------------------- import logging import asyncio + from colors import color +from pyee import EventEmitter -from .utils import EventEmitter from .core import InvalidStateError, ProtocolError, ConnectionError # -----------------------------------------------------------------------------