mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
smaller changes
added DATAC0 to send data via bad path. Fixed stop transmission for receiving. Fixed a possible error in main.py
This commit is contained in:
parent
8b08cc6e6b
commit
0b115bd00c
3 changed files with 7 additions and 5 deletions
|
@ -679,8 +679,9 @@
|
|||
<div class="input-group input-group-sm">
|
||||
<span class="input-group-text" id="basic-addon1">Mode</span>
|
||||
<select class="form-select form-select-sm" aria-label=".form-select-sm" id="datamode">
|
||||
<option selected value="10">DATAC1</option>
|
||||
<option value="12">DATAC3</option>
|
||||
<option value="14">DATAC0 - Bad path</option>
|
||||
<option selected value="10">DATAC1 - Good path</option>
|
||||
<option value="12">DATAC3 - Medium path</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -59,6 +59,10 @@ def arq_data_received(data_in, bytes_per_frame):
|
|||
global DATA_CHANNEL_LAST_RECEIVED
|
||||
global DATA_CHANNEL_READY_FOR_DATA
|
||||
|
||||
# only process data if we are in ARQ and BUSY state else return to quit
|
||||
if static.ARQ_STATE != 'DATA' and static.TNC_STATE != 'BUSY':
|
||||
return
|
||||
|
||||
# these vars will be overwritten during processing data
|
||||
RX_FRAME_BOF_RECEIVED = False # here we save, if we received a "beginn of (data)frame"
|
||||
RX_FRAME_EOF_RECEIVED = False # here we save, if we received a "end of (data)frame"
|
||||
|
|
|
@ -52,9 +52,6 @@ if __name__ == '__main__':
|
|||
CMD_SERVER_THREAD = threading.Thread(target=sock.start_cmd_socket, name="cmd server")
|
||||
CMD_SERVER_THREAD.start()
|
||||
|
||||
WATCHDOG_SERVER_THREAD = threading.Thread(target=helpers.watchdog, name="watchdog")
|
||||
WATCHDOG_SERVER_THREAD.start()
|
||||
|
||||
'''
|
||||
# Start RIGCTLD
|
||||
|
||||
|
|
Loading…
Reference in a new issue