Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-09-22 18:28:21 -07:00
parent e7e2c9604e
commit 45e9c1eccb
+2 -2
View File
@@ -509,9 +509,9 @@ def handle_whoami(message_from_id, deviceID, hop, snr, rssi, pkiStatus):
str(decimal_to_hex(message_from_id)) + f"\n")
msg += f"I see the signal strength is {rssi} and the SNR is {snr} with hop count of {hop} \n"
if pkiStatus[0]:
msg += f"Your encryption bit is {pkiStatus[0]} pubKey: {pkiStatus[1]}"
msg += f"Your PKI bit is {pkiStatus[0]} pubKey: {pkiStatus[1]}"
else:
msg += f"Your encryption bit is {pkiStatus[0]}"
msg += f"Your PKI bit is {pkiStatus[0]}"
loc = get_node_location(message_from_id, deviceID)
if loc != [latitudeValue,longitudeValue]: