From 8620a6e04b2f38f5160bcc9bff723727338f152e Mon Sep 17 00:00:00 2001 From: dj2ls Date: Sun, 2 Jan 2022 10:39:49 +0100 Subject: [PATCH] changed BOF and EOF --- tnc/data_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tnc/data_handler.py b/tnc/data_handler.py index 3de2d048..9ad45038 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -48,8 +48,8 @@ RPT_REQUEST_BUFFER = [] # requested frames, saved in a l RX_START_OF_TRANSMISSION = 0 # time of transmission start -DATA_FRAME_BOF = b'\xAA\xAA' # 2 bytes for the BOF End of File indicator in a data frame -DATA_FRAME_EOF = b'\xFF\xFF' # 2 bytes for the EOF End of File indicator in a data frame +DATA_FRAME_BOF = b'BOF'#b'\xAA\xAA' # 2 bytes for the BOF End of File indicator in a data frame +DATA_FRAME_EOF = b'EOF'#b'\xFF\xFF' # 2 bytes for the EOF End of File indicator in a data frame def arq_data_received(data_in:bytes, bytes_per_frame:int):