fixed handling hmac bool for network message

This commit is contained in:
DJ2LS 2023-08-24 07:50:44 +02:00
parent d2da32a8dc
commit d40742bc08
2 changed files with 4 additions and 1 deletions

View file

@ -1043,6 +1043,9 @@ class DATA:
"""
# transmittion duration
signed = "True" if signed else "False"
duration = time.time() - self.rx_start_of_transmission
self.calculate_transfer_rate_rx(
self.rx_start_of_transmission, len(ARQ.rx_frame_buffer)

View file

@ -129,7 +129,7 @@ class TCIParam:
@dataclass
class TNC:
version = "0.10.3-alpha.1-hmac-exp1"
version = "0.10.3-alpha.1-hmac-exp2"
host: str = "0.0.0.0"
port: int = 3000
SOCKET_TIMEOUT: int = 1 # seconds