From bf2a99ec0048cbba3179c28bb1614e85b8396ebe Mon Sep 17 00:00:00 2001 From: n0mjs710 Date: Tue, 27 Nov 2018 20:59:39 -0600 Subject: [PATCH] fix packet length to not confuse YSF2DMR when OBP is the source --- hb_confbridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hb_confbridge.py b/hb_confbridge.py index 0fca13b..7dff8fa 100755 --- a/hb_confbridge.py +++ b/hb_confbridge.py @@ -367,7 +367,7 @@ class routerOBP(OPENBRIDGE): elif _dtype_vseq in [1,2,3,4]: dmrbits = dmrbits[0:116] + _target_status[_target['TS']]['TX_EMB_LC'][_dtype_vseq] + dmrbits[148:264] dmrpkt = dmrbits.tobytes() - _tmp_data = _tmp_data + dmrpkt + _data[53:55] + _tmp_data = _tmp_data + dmrpkt + '\x00\x00' # Add two bytes of nothing since OBP doesn't include BER & RSSI bytes #_data[53:55] # Transmit the packet to the destination system systems[_target['SYSTEM']].send_system(_tmp_data)