mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-06-02 19:23:35 -07:00
Updated link test
This commit is contained in:
@@ -248,8 +248,8 @@ class TCPClientInterface(Interface):
|
|||||||
|
|
||||||
def processOutgoing(self, data):
|
def processOutgoing(self, data):
|
||||||
if self.online:
|
if self.online:
|
||||||
while self.writing:
|
# while self.writing:
|
||||||
time.sleep(0.01)
|
# time.sleep(0.01)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.writing = True
|
self.writing = True
|
||||||
|
|||||||
+3
-2
@@ -165,8 +165,9 @@ def targets():
|
|||||||
def resource_concluded(resource):
|
def resource_concluded(resource):
|
||||||
print("Resource concluded")
|
print("Resource concluded")
|
||||||
|
|
||||||
rx_pr = (resource.link.attached_interface.rxb*8)/resource.link.attached_interface.rxptime
|
if hasattr(resource.link.attached_interface, "rxptime"):
|
||||||
print("Average RX proccessing rate: "+size_str(rx_pr, "b")+"ps")
|
rx_pr = (resource.link.attached_interface.rxb*8)/resource.link.attached_interface.rxptime
|
||||||
|
print("Average RX proccessing rate: "+size_str(rx_pr, "b")+"ps")
|
||||||
|
|
||||||
def link_established(link):
|
def link_established(link):
|
||||||
print("Link established")
|
print("Link established")
|
||||||
|
|||||||
Reference in New Issue
Block a user