mirror of https://github.com/DJ2LS/FreeDATA.git
fixing arq
parent
d3a379124d
commit
5235223dc0
|
|
@ -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 = []
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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'
|
||||
|
|
|
|||
Loading…
Reference in New Issue