Compare commits

..

2 Commits

Author SHA1 Message Date
Gilles Boccon-Gibod 368e7eff05 update tests to look at side effects instead of internals 2022-08-12 12:32:36 -07:00
Gilles Boccon-Gibod 55b813bbf5 don't use a lambda as a subscriber 2022-08-12 12:06:08 -07:00
3 changed files with 4 additions and 7 deletions
+1 -1
View File
@@ -20,11 +20,11 @@ import logging
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
+1 -2
View File
@@ -17,10 +17,9 @@
# -----------------------------------------------------------------------------
import logging
import asyncio
from colors import color
from pyee import EventEmitter
from .utils import EventEmitter
from .core import InvalidStateError, ProtocolError, ConnectionError
# -----------------------------------------------------------------------------
+2 -4
View File
@@ -7,12 +7,10 @@ The Console app is an interactive text user interface that offers a number of fu
* scanning
* advertising
* connecting to and disconnecting from devices
* connecting to devices
* changing connection parameters
* enabling encryption
* discovering GATT services and characteristics
* reading and writing GATT characteristics
* subscribing to and unsubscribing from GATT characteristics
* read & write GATT characteristics
The console user interface has 3 main panes: