Reduce embellishments
This commit is contained in:
parent
1d31bee775
commit
d3e380ba5f
@ -1,5 +1,4 @@
|
||||
import asyncio
|
||||
import typing
|
||||
|
||||
import bleak
|
||||
|
||||
@ -11,8 +10,8 @@ class BleConnection:
|
||||
adafruit_tx_uuid = "6E400002-B5A3-F393-E0A9-E50E24DCCA9E"
|
||||
ble_name = "Adafruit Bluefruit LE"
|
||||
|
||||
def __init__(self, receive_handler: typing.Callable[[bytes], None]):
|
||||
self.ble_client : bleak.BleakClient = None
|
||||
def __init__(self, receive_handler):
|
||||
self.ble_client = None
|
||||
self.receive_handler = receive_handler
|
||||
|
||||
def _uart_handler(self, _, data: bytes):
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
import asyncio
|
||||
import typing
|
||||
|
||||
import bleak
|
||||
|
||||
@ -11,8 +10,8 @@ class BleConnection:
|
||||
adafruit_tx_uuid = "6E400002-B5A3-F393-E0A9-E50E24DCCA9E"
|
||||
ble_name = "Adafruit Bluefruit LE"
|
||||
|
||||
def __init__(self, receive_handler: typing.Callable[[bytes], None]):
|
||||
self.ble_client : bleak.BleakClient = None
|
||||
def __init__(self, receive_handler):
|
||||
self.ble_client = None
|
||||
self.receive_handler = receive_handler
|
||||
|
||||
def _uart_handler(self, _, data: bytes):
|
||||
|
||||
@ -1,5 +1,4 @@
|
||||
import asyncio
|
||||
import typing
|
||||
|
||||
import bleak
|
||||
|
||||
@ -11,8 +10,8 @@ class BleConnection:
|
||||
adafruit_tx_uuid = "6E400002-B5A3-F393-E0A9-E50E24DCCA9E"
|
||||
ble_name = "Adafruit Bluefruit LE"
|
||||
|
||||
def __init__(self, receive_handler: typing.Callable[[bytes], None]):
|
||||
self.ble_client : bleak.BleakClient = None
|
||||
def __init__(self, receive_handler):
|
||||
self.ble_client = None
|
||||
self.receive_handler = receive_handler
|
||||
|
||||
def _uart_handler(self, _, data: bytes):
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user