From 23cd2121f6fe615593b602d7d45f90d96cd015ef Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 31 Oct 2021 12:50:37 +0000 Subject: [PATCH] Try to fix unit triggering on some group data calls --- bridge_master.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bridge_master.py b/bridge_master.py index 6a1c0ce..311d01b 100644 --- a/bridge_master.py +++ b/bridge_master.py @@ -1792,11 +1792,11 @@ class routerHBP(HBSYSTEM): ## print(ahex(dmrpkt)[27:-27]) ## print() # Filter out SMS/GPS. Usually _dtype_vseq of 3, 6, and 7. - if (_dtype_vseq == 6 or _dtype_vseq == 7) or ahex(dmrpkt)[27:-27] == b'd5d7f77fd757' and _dtype_vseq == 3 and _call_type == 'unit': + if (_dtype_vseq == 6 or _dtype_vseq == 7) or (ahex(dmrpkt)[27:-27] == b'd5d7f77fd757' and _dtype_vseq == 3) and _call_type == 'unit': ## if ahex(dmrpkt)[27:-27] == b'd5d7f77fd757': # This is a data call _data_call = True - logger.info('(%s) UNIT Data call: dtype_vseq %s, src_id: %s dst_id: %s',self._system, _dtype_vseq, int_id(_rf_src), _int_dst_id) + logger.info('(%s) UNIT Data call: dtype_vseq %s, src_id: %s dst_id: %s',self._system, _dtype_vseq, int_id(_rf_src), _int_dst_id) ## if _dst_id in UNIT_MAP: ## systems[UNIT_MAP[_dst_id][0]].send_system(_data) ## else: