mirror of
https://github.com/markqvist/Sideband.git
synced 2025-07-25 07:45:23 -04:00
Cleanup
This commit is contained in:
parent
120d29db75
commit
c873b9fa33
14 changed files with 9 additions and 6595 deletions
|
@ -2,9 +2,13 @@ import RNS
|
|||
import time
|
||||
import threading
|
||||
from collections import deque
|
||||
from sbapp.mqtt import client as mqtt
|
||||
from .sense import Telemeter, Commands
|
||||
|
||||
if RNS.vendor.platformutils.get_platform() == "android":
|
||||
import pmqtt.client as mqtt
|
||||
else:
|
||||
from sbapp.pmqtt import client as mqtt
|
||||
|
||||
class MQTT():
|
||||
QUEUE_MAXLEN = 65536
|
||||
SCHEDULER_SLEEP = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue