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 13:27:08 UTC 2019


fixeria has uploaded this change for review. ( 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(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/33/15333/1

diff --git a/src/target/trx_toolkit/data_msg.py b/src/target/trx_toolkit/data_msg.py
index a1c41c0..d8b21b4 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 type(self.burst) is list 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: 1
Gerrit-Owner: fixeria <axilirator at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190829/9f29af2a/attachment.html>


More information about the gerrit-log mailing list