From f703a8868bdbbbc79fda78890f56ae502ec015dc Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sun, 1 Sep 2024 21:51:21 -0700 Subject: [PATCH] Update mesh_bot.py --- mesh_bot.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mesh_bot.py b/mesh_bot.py index bfbff8c..f19b006 100755 --- a/mesh_bot.py +++ b/mesh_bot.py @@ -327,6 +327,8 @@ def onReceive(packet, interface): send_message(message, channel_number, message_from_id, rxNode) # check for a message packet and process it + snr = 0 + rssi = 0 try: if 'decoded' in packet and packet['decoded']['portnum'] == 'TEXT_MESSAGE_APP': message_bytes = packet['decoded']['payload']