mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
changed router to origin
This commit is contained in:
parent
afed031baf
commit
9304b9fb34
1 changed files with 3 additions and 1 deletions
|
@ -264,7 +264,9 @@ class MeshRouter():
|
|||
data = MESH_QUEUE_TRANSMIT.get()
|
||||
#print(data)
|
||||
if data[0] == "PING":
|
||||
self.add_mesh_ping_to_signalling_table(helpers.get_crc_24(data[2]).hex(), helpers.get_crc_24(data[3]).hex(), status="awaiting_ack")
|
||||
destination = helpers.get_crc_24(data[2]).hex()
|
||||
origin = helpers.get_crc_24(data[1]).hex()
|
||||
self.add_mesh_ping_to_signalling_table(destination, origin, status="awaiting_ack")
|
||||
else:
|
||||
print("wrong mesh command")
|
||||
|
||||
|
|
Loading…
Reference in a new issue