diff --git a/Dockerfile b/Dockerfile index cc7c34d..622d424 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,7 +12,8 @@ RUN apt-get update \ git \ libbluetooth3 \ libbluetooth-dev \ - python-dev \ + #python-dev \ + python-dev-is-python3 \ && pip install -r requirements.txt \ && pip install git+https://github.com/pybluez/pybluez \ && git clone https://github.com/colin-guyon/py-bluetooth-utils.git --depth=1 \ diff --git a/mi_atc_reader.py b/mi_atc_reader.py index 1bcaa89..4ccbd1a 100644 --- a/mi_atc_reader.py +++ b/mi_atc_reader.py @@ -56,7 +56,10 @@ def le_advertise_packet_handler(mac, adv_type, data, rssi): Both atc1441 and pvvx forks send data on GATT Service 0x181A Environmental Sensing """ exit_stat = not exit_event.is_set() - if struct.unpack(' 6 and struct.unpack('