Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-07-10 19:45:41 -07:00
parent 4d569b0f08
commit 4666a18785
+1 -1
View File
@@ -49,7 +49,7 @@ hostname = config['interface'].get('hostname', '')
mac = config['interface'].get('mac', '')
if interface_type == 'serial':
interface = meshtastic.serial_interface.SerialInterface()
interface = meshtastic.serial_interface.SerialInterface(port)
elif interface_type == 'tcp':
interface = meshtastic.tcp_interface.TCPInterface(hostname)
elif interface_type == 'ble':