attempt with reduced transmission timeout to 180s

This commit is contained in:
DJ2LS 2022-12-11 11:13:55 +01:00
parent 8c0c13f227
commit d9a7d392ce
2 changed files with 5 additions and 2 deletions

View file

@ -146,7 +146,7 @@ class DATA:
self.burst_ack_timeout_seconds = 3.0 # timeout for burst acknowledges
self.data_frame_ack_timeout_seconds = 3.0 # timeout for data frame acknowledges
self.rpt_ack_timeout_seconds = 3.0 # timeout for rpt frame acknowledges
self.transmission_timeout = 500 # transmission timeout in seconds
self.transmission_timeout = 180 # transmission timeout in seconds
# Dictionary of functions and log messages used in process_data
# instead of a long series of if-elif-else statements.

View file

@ -53,7 +53,10 @@ with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as sock:
if jsondata.get('freedata') == "tnc-message":
log.info(jsondata)
if jsondata.get('ping') == "acknowledge":
log.info(f"PING {jsondata.get('mycallsign')} >><< {jsondata.get('dxcallsign')}", snr=jsondata.get('snr'), dxsnr=jsondata.get('dxsnr'))
if jsondata.get('status') == 'receiving':
log.info(jsondata)