mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-03-28 17:32:36 +01:00
cleanup
This commit is contained in:
@@ -322,8 +322,10 @@ async def start_rx():
|
||||
print(f"System: Respond by DM only")
|
||||
if repeater_enabled:
|
||||
print(f"System: Repeater Enabled for Channels: {repeater_channels}")
|
||||
# Start the receive loop
|
||||
|
||||
# Start the receive subscriber using pubsub via meshtastic library
|
||||
pub.subscribe(onReceive, 'meshtastic.receive')
|
||||
|
||||
msg = (f"{log_timestamp()} System: Autoresponder Started for Device1 {get_name_from_number(myNodeNum, 'long', 1)},"
|
||||
f"{get_name_from_number(myNodeNum, 'short', 1)}. NodeID: {myNodeNum}, {decimal_to_hex(myNodeNum)}")
|
||||
print (msg)
|
||||
|
||||
@@ -197,8 +197,10 @@ def onReceive(packet, interface):
|
||||
print("END of packet \n")
|
||||
|
||||
async def start_rx():
|
||||
# Start the receive loop
|
||||
|
||||
# Start the receive subscriber using pubsub via meshtastic library
|
||||
pub.subscribe(onReceive, 'meshtastic.receive')
|
||||
|
||||
msg = (f"{log_timestamp()} System: Autoresponder Started for Device1 {get_name_from_number(myNodeNum, 'long', 1)},"
|
||||
f"{get_name_from_number(myNodeNum, 'short', 1)}. NodeID: {myNodeNum}, {decimal_to_hex(myNodeNum)}")
|
||||
print (msg)
|
||||
|
||||
Reference in New Issue
Block a user