mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Add priming packet to FIFO.
This forces the originating TNC to be out-of-sync when receiving frames.
This commit is contained in:
parent
04948552d0
commit
1cec49bf77
1 changed files with 5 additions and 0 deletions
|
@ -119,6 +119,11 @@ def t_highsnr_arq_short_station1(
|
|||
# Try to wait for the far-end to start up.
|
||||
# time.sleep(0.5)
|
||||
|
||||
# Add a frame to the TX queue at the beginning. This helps during testing so that
|
||||
# the TNC is required to resend frames.
|
||||
data = {"type": "ping", "command": "ping", "mycallsign": mycall, "dxcallsign": "BB5AA"}
|
||||
sock.process_tnc_commands(json.dumps(data, indent=None))
|
||||
|
||||
# Construct message to dxstation.
|
||||
b64_str = str(base64.b64encode(bytes(message, "UTF-8")), "UTF-8").strip()
|
||||
data = {
|
||||
|
|
Loading…
Reference in a new issue