Compare commits

...
2 Commits
Author SHA1 Message Date
Mark Qvist 776e72d0ba Updated version 2021-10-15 19:40:22 +02:00
Mark Qvist 29f6089967 Updated sync sequence status codes 2021-10-12 21:11:20 +02:00
2 changed files with 6 additions and 3 deletions

No files matched your search

+5 -2
View File
@@ -814,8 +814,9 @@ class LXMRouter:
PR_LINK_ESTABLISHING = 0x02
PR_LINK_ESTABLISHED = 0x03
PR_REQUEST_SENT = 0x04
PR_RESPONSE_RECEIVED = 0x05
PR_COMPLETE = 0x06
PR_RECEIVING = 0x05
PR_RESPONSE_RECEIVED = 0x06
PR_COMPLETE = 0x07
PR_ALL_MESSAGES = 0x00
@@ -973,6 +974,7 @@ class LXMRouter:
response_callback=self.message_list_response,
failed_callback=self.message_get_failed
)
self.propagation_transfer_state = LXMRouter.PR_REQUEST_SENT
else:
if self.outbound_propagation_link == None:
if RNS.Transport.has_path(self.outbound_propagation_node):
@@ -1057,6 +1059,7 @@ class LXMRouter:
self.propagation_transfer_last_result = 0
def message_get_progress(self, request_receipt):
self.propagation_transfer_state = LXMRouter.PR_RECEIVING
self.propagation_transfer_progress = request_receipt.get_progress()
def message_get_response(self, request_receipt):
+1 -1
View File
@@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="lxmf",
version="0.1.1",
version="0.1.2",
author="Mark Qvist",
author_email="mark@unsigned.io",
description="Lightweight Extensible Message Format for Reticulum",