This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
fixeria gerrit-no-reply at lists.osmocom.orgfixeria has submitted this change. ( https://gerrit.osmocom.org/c/osmocom-bb/+/17674 )
Change subject: trx_toolkit/trx_sniff.py: add option to ignore NOPE / IDLE indications
......................................................................
trx_toolkit/trx_sniff.py: add option to ignore NOPE / IDLE indications
Change-Id: If51052af04289f10bfaefd5374049908de05319a
---
M src/target/trx_toolkit/trx_sniff.py
1 file changed, 9 insertions(+), 0 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
fixeria: Looks good to me, approved
diff --git a/src/target/trx_toolkit/trx_sniff.py b/src/target/trx_toolkit/trx_sniff.py
index 5667df2..1417664 100755
--- a/src/target/trx_toolkit/trx_sniff.py
+++ b/src/target/trx_toolkit/trx_sniff.py
@@ -158,6 +158,12 @@
if msg.fn < self.argv.pf_fn_gt:
return False
+ # Message type specific filtering
+ if isinstance(msg, DATAMSG_TRX2L1):
+ # NOPE.ind filter
+ if not self.argv.pf_nope_ind and msg.nope_ind:
+ return False
+
# Burst passed ;)
return True
@@ -258,6 +264,9 @@
pf_group.add_argument("--frame-num-gt", metavar = "FN",
dest = "pf_fn_gt", type = int,
help = "TDMA frame number (greater than FN)")
+ pf_group.add_argument("--no-nope-ind",
+ dest = "pf_nope_ind", action = "store_false",
+ help = "Ignore NOPE.ind (NOPE / IDLE indications)")
return parser.parse_args()
--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/17674
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: If51052af04289f10bfaefd5374049908de05319a
Gerrit-Change-Number: 17674
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: pespin <pespin at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200330/8aff7d81/attachment.htm>