Change in ...osmocom-bb[master]: trx_toolkit/data_msg.py: also print burst length in desc_hdr()

fixeria gerrit-no-reply at lists.osmocom.org
Thu Aug 29 19:36:53 UTC 2019


fixeria has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/osmocom-bb/+/15333 )

Change subject: trx_toolkit/data_msg.py: also print burst length in desc_hdr()
......................................................................

trx_toolkit/data_msg.py: also print burst length in desc_hdr()

Change-Id: Ia0036cbf70a3736a7f9779e030e05221cba8add9
---
M src/target/trx_toolkit/data_msg.py
1 file changed, 3 insertions(+), 0 deletions(-)

Approvals:
  pespin: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/src/target/trx_toolkit/data_msg.py b/src/target/trx_toolkit/data_msg.py
index a1c41c0..0774d32 100644
--- a/src/target/trx_toolkit/data_msg.py
+++ b/src/target/trx_toolkit/data_msg.py
@@ -182,6 +182,9 @@
 		if self.tn is not None:
 			result += ("tn=%u " % self.tn)
 
+		if self.burst is not None and len(self.burst) > 0:
+			result += ("bl=%u " % len(self.burst))
+
 		return result
 
 	# Converts unsigned soft-bits {254..0} to soft-bits {-127..127}

-- 
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/15333
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: Ia0036cbf70a3736a7f9779e030e05221cba8add9
Gerrit-Change-Number: 15333
Gerrit-PatchSet: 2
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/20190829/91f33e0e/attachment.html>


More information about the gerrit-log mailing list