From af851d15f3db836397e4502a98af6d846e8e6075 Mon Sep 17 00:00:00 2001 From: DJ2LS <75909252+DJ2LS@users.noreply.github.com> Date: Sun, 25 Dec 2022 17:08:20 +0100 Subject: [PATCH] beacon now with full grid --- 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 37f297d1..d2ba5e72 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -2462,7 +2462,7 @@ class DATA: beacon_frame = bytearray(self.length_sig0_frame) beacon_frame[:1] = bytes([FR_TYPE.BEACON.value]) beacon_frame[1:7] = helpers.callsign_to_bytes(self.mycallsign) - beacon_frame[9:13] = static.MYGRID[:4] + beacon_frame[7:13] = static.MYGRID self.log.info("[TNC] ENABLE FSK", state=static.ENABLE_FSK) if static.ENABLE_FSK: @@ -2494,7 +2494,7 @@ class DATA: """ # here we add the received station to the heard stations buffer beacon_callsign = helpers.bytes_to_callsign(bytes(data_in[1:7])) - dxgrid = bytes(data_in[9:13]).rstrip(b"\x00") + dxgrid = bytes(data_in[7:13]).rstrip(b"\x00") self.send_data_to_socket_queue( freedata="tnc-message",