mirror of
https://github.com/meshtastic/python.git
synced 2025-12-24 08:27:55 -05:00
11 lines
337 B
Python
11 lines
337 B
Python
import sys
|
|
import meshtastic
|
|
import datetime, logging
|
|
from pubsub import pub
|
|
|
|
#logging.basicConfig(level=logging.DEBUG)
|
|
print(str(datetime.datetime.now()) + ": start")
|
|
interface = meshtastic.TCPInterface(sys.argv[1])
|
|
print(str(datetime.datetime.now()) + ": middle")
|
|
interface.close()
|
|
print(str(datetime.datetime.now()) + ": after close") |