Remove first packet send.

Fix missed status enum reference.
This commit is contained in:
Paul Kronenwetter 2022-06-04 20:48:00 -04:00
parent f0d327e98e
commit 3bd4b4cb75
2 changed files with 2 additions and 6 deletions

View file

@ -87,7 +87,8 @@ def analyze_results(station1: list, station2: list, call_list: list):
continue
data = bytes(s1_item[0])
frametypeno = int.from_bytes(data[:1], "big")
frametype = static.FRAME_TYPE(frametypeno).name
# frametype = static.FRAME_TYPE(frametypeno).name
frametype = str(frametypeno)
s1_crc = helpers.decode_call(helpers.bytes_to_callsign(data[1:4]))
s2_crc = helpers.decode_call(helpers.bytes_to_callsign(data[2:5]))
log.info(

View file

@ -124,11 +124,6 @@ def t_highsnr_arq_short_station1(
# time.sleep(0.5)
# Construct message to dxstation.
# Tests seem to work better when this side sends a 'dummy' frame first.
data = {"type": "ping", "command": "ping", "dxcallsign": "BB4NN"}
sock.process_tnc_commands(json.dumps(data, indent=None))
time.sleep(0.5)
b64_str = str(base64.b64encode(bytes(message, "UTF-8")), "UTF-8").strip()
data = {
"type": "arq",