mirror of
https://github.com/liamcottle/reticulum-meshchat.git
synced 2026-12-03 21:30:03 -05:00
collect rssi, snr and link quality for announces and add snr to announces ui
This commit is contained in:
parent
7ea306003e
commit
5a1bd889b7
4 changed files with 52 additions and 13 deletions
|
|
@ -7,10 +7,10 @@ class AnnounceHandler:
|
|||
self.received_announce_callback = received_announce_callback
|
||||
|
||||
# we will just pass the received announce back to the provided callback
|
||||
def received_announce(self, destination_hash, announced_identity, app_data):
|
||||
def received_announce(self, destination_hash, announced_identity, app_data, announce_packet_hash):
|
||||
try:
|
||||
# handle received announce
|
||||
self.received_announce_callback(self.aspect_filter, destination_hash, announced_identity, app_data)
|
||||
self.received_announce_callback(self.aspect_filter, destination_hash, announced_identity, app_data, announce_packet_hash)
|
||||
except:
|
||||
# ignore failure to handle received announce
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue