mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed handling hmac bool for network message
This commit is contained in:
parent
d2da32a8dc
commit
d40742bc08
|
@ -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)
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue