This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This file is part of qicada | |
See the COPYING, README, and INSTALL files for more information | |
""" | |
from __future__ import print_function | |
import logging | |
import usb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# encoding: utf-8 | |
import os | |
import inspect | |
import time | |
import copy | |
from twisted.internet.protocol import Factory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from dataclasses import dataclass | |
from twisted import logger | |
from twisted.internet import reactor | |
from twisted.application import service | |
from paho.mqtt import client as mqtt | |
from paho.mqtt.enums import MQTTProtocolVersion | |
from paho.mqtt.enums import CallbackAPIVersion | |