Change in osmo-ttcn3-hacks[master]: library/GSM_RR_Types: add ts/tr templates for MaioHsn

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.org
Tue Jul 14 09:14:47 UTC 2020


fixeria has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19243 )


Change subject: library/GSM_RR_Types: add ts/tr templates for MaioHsn
......................................................................

library/GSM_RR_Types: add ts/tr templates for MaioHsn

Change-Id: I0c5581c3d95018d808907bd2bc5e8ddd0a730bea
---
M library/GSM_RR_Types.ttcn
1 file changed, 12 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/43/19243/1

diff --git a/library/GSM_RR_Types.ttcn b/library/GSM_RR_Types.ttcn
index 4b460b1..d0d5d8e 100644
--- a/library/GSM_RR_Types.ttcn
+++ b/library/GSM_RR_Types.ttcn
@@ -186,6 +186,18 @@
 		uint6_t		hsn
 	} with { variant "" };
 
+	/* It's more handy to pass HSN first, so the arguments' order is reversed. */
+	template (value) MaioHsn ts_HsnMaio(template (value) uint6_t hsn,
+					    template (value) uint6_t maio) := {
+		maio := maio,
+		hsn := hsn
+	};
+	template MaioHsn tr_HsnMaio(template (present) uint6_t hsn,
+				    template (present) uint6_t maio) := {
+		maio := maio,
+		hsn := hsn
+	};
+
 	/* TS 24.008 10.5.1.1 */
 	type uint16_t CellIdentity;
 

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19243
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: I0c5581c3d95018d808907bd2bc5e8ddd0a730bea
Gerrit-Change-Number: 19243
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200714/796fb087/attachment.htm>


More information about the gerrit-log mailing list