Skip to content

Commit

Permalink
todo
Browse files Browse the repository at this point in the history
  • Loading branch information
8cH9azbsFifZ committed Nov 16, 2023
1 parent 7eef56a commit 2f5e747
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
- one echo too much?
- one echo too much?
- add keepalive to loop!
2 changes: 2 additions & 0 deletions udp2mqtt.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ def on_log(mqttc, obj, level, string):
while KeyboardInterrupt:
time.sleep(0.2) # anti flood

# FIXME: ADD KEEPALIVE SIGNAL

try:
data_bytes, addr = client_socket.recvfrom(64)
client = addr[0] + ':' + str(addr[1])
Expand Down

0 comments on commit 2f5e747

Please sign in to comment.