Implemented progress on resource initiator side. Made MDUs more obvious.

This commit is contained in:
Mark Qvist 2020-04-28 20:50:57 +02:00
parent a9c4d0e78d
commit c9d1c938ff
7 changed files with 34 additions and 15 deletions

View file

@ -89,7 +89,7 @@ def client_connected(link):
data = umsgpack.packb(list_files())
# Check the size of the packed data
if len(data) <= RNS.Reticulum.LINK_MDU:
if len(data) <= RNS.Link.MDU:
# If it fits in one packet, we will just
# send it as a single packet over the link.
list_packet = RNS.Packet(link, data)