mirror of
https://github.com/markqvist/Sideband.git
synced 2025-08-07 05:52:11 -04:00
Cleanup
This commit is contained in:
parent
15600d5172
commit
19cae41062
2 changed files with 6 additions and 6 deletions
|
@ -64,9 +64,9 @@ class PropagationNodeDetector():
|
|||
# age = 0
|
||||
pass
|
||||
|
||||
link_stats = {"rssi": self.reticulum.get_packet_rssi(announce_packet_hash),
|
||||
"snr": self.reticulum.get_packet_snr(announce_packet_hash),
|
||||
"q": self.reticulum.get_packet_q(announce_packet_hash)}
|
||||
link_stats = {"rssi": self.owner_app.sideband.reticulum.get_packet_rssi(announce_packet_hash),
|
||||
"snr": self.owner_app.sideband.reticulum.get_packet_snr(announce_packet_hash),
|
||||
"q": self.owner_app.sideband.reticulum.get_packet_q(announce_packet_hash)}
|
||||
|
||||
RNS.log("Detected active propagation node "+RNS.prettyhexrep(destination_hash)+" emission "+str(age)+" seconds ago, "+str(hops)+" hops away")
|
||||
self.owner.log_announce(destination_hash, app_data, dest_type=PropagationNodeDetector.aspect_filter, link_stats=link_stats)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue