fixing arq

pull/970/head
DJ2LS 2025-05-01 21:10:13 +02:00
parent d3a379124d
commit 5235223dc0
3 changed files with 4 additions and 4 deletions

View File

@ -72,7 +72,7 @@ class ARQSession:
self.is_IRS = False # state for easy check "is IRS" or is "ISS"
self.protocol_version = 1
self.protocol_version = self.ctx.constants.ARQ_PROTOCOL_VERSION
self.snr = []

View File

@ -101,11 +101,10 @@ class ARQSessionIRS(arq_session.ARQSession):
dxcall (str): The DX call sign.
session_id (int): The unique ID of the session.
"""
super().__init__(ctx)
super().__init__(ctx, dxcall)
self.id = session_id
self.dxcall = dxcall
self.version = 1
self.version = self.ctx.CONSTANTS.ARQ_PROTOCOL_VERSION
self.is_IRS = True
self.state = IRS_State.NEW

View File

@ -3,6 +3,7 @@ CONFIG_ENV_VAR = 'FREEDATA_CONFIG'
DEFAULT_CONFIG_FILE = 'config.ini'
MODEM_VERSION = "0.17.3-beta"
API_VERSION = 3
ARQ_PROTOCOL_VERSION = 1
LICENSE = 'GPL3.0'
DOCUMENTATION_URL = 'https://wiki.freedata.app'
STATS_API_URL = 'https://api.freedata.app/stats.php'