mirror of https://github.com/DJ2LS/FreeDATA.git
attempt with reduced transmission timeout to 180s
parent
8c0c13f227
commit
d9a7d392ce
|
@ -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.
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue