From 4d7bba989cd1a7a813ed501cbe38d57e5ea68fd6 Mon Sep 17 00:00:00 2001 From: Simon Date: Sat, 8 Jan 2022 13:15:01 +0000 Subject: [PATCH] extend pkt even more --- bridge_master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bridge_master.py b/bridge_master.py index c846192..26d2ca3 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -1464,7 +1464,7 @@ class routerOBP(OPENBRIDGE): pkt_time = time() dmrpkt = _data[20:53] _bits = _data[15] - _pkt_crc = Crc16.calc(_data[5:53]) + _pkt_crc = Crc16.calc(_data[4:53]) # Match UNIT data, SMS/GPS, and send it to the dst_id if it is in SUB_MAP if _call_type == 'unit' and (_dtype_vseq == 6 or _dtype_vseq == 7 or _dtype_vseq == 8 or ((_stream_id not in self.STATUS) and _dtype_vseq == 3)):