diff --git a/test/test_data_channel.py b/test/test_data_channel.py index f06a8f8f..afbb7872 100644 --- a/test/test_data_channel.py +++ b/test/test_data_channel.py @@ -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( diff --git a/test/util_data_channel_1.py b/test/util_data_channel_1.py index 1e3bca42..443462b2 100644 --- a/test/util_data_channel_1.py +++ b/test/util_data_channel_1.py @@ -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",