RNode interface

This commit is contained in:
Mark Qvist 2018-04-26 13:20:43 +02:00
parent 540bde4cd4
commit c03bce5547
4 changed files with 11 additions and 3 deletions

View file

@ -112,7 +112,9 @@ class Transport:
should_transmit = False
if should_transmit:
RNS.log("Transmitting "+str(len(packet.raw))+" bytes via: "+str(interface), RNS.LOG_DEBUG)
# TODO: Remove
RNS.log("Transmitting "+str(len(packet.raw))+" bytes via: "+str(interface), RNS.LOG_EXTREME)
RNS.log("Hash is "+RNS.prettyhexrep(packet.packet_hash), RNS.LOG_EXTREME)
interface.processOutgoing(packet.raw)
sent = True