[MERGED] osmo-ttcn3-hacks[master]: BSSMAP_Templates: Make ts_BSSAP_DTAP usable

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/.

Harald Welte gerrit-no-reply at lists.osmocom.org
Sun Jan 21 18:34:22 UTC 2018


Harald Welte has submitted this change and it was merged.

Change subject: BSSMAP_Templates: Make ts_BSSAP_DTAP usable
......................................................................


BSSMAP_Templates: Make ts_BSSAP_DTAP usable

A send template with '?' is broken.  Also, allow caller to specify DTAP
payload as well as optionally a DLCI.

Change-Id: I641ee8ce5e5ae70b514342cf68cdc79b1926c4d0
---
M library/BSSMAP_Templates.ttcn
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Harald Welte: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/library/BSSMAP_Templates.ttcn b/library/BSSMAP_Templates.ttcn
index 2a9cef7..49844e7 100644
--- a/library/BSSMAP_Templates.ttcn
+++ b/library/BSSMAP_Templates.ttcn
@@ -114,13 +114,13 @@
 	}
 }
 
-template PDU_BSSAP ts_BSSAP_DTAP := {
+template PDU_BSSAP ts_BSSAP_DTAP(octetstring dtap, template OCT1 dlci := omit) := {
 	discriminator := '1'B,
 	spare := '0000000'B,
-	dlci := omit,
+	dlci := dlci,
 	lengthIndicator := 0,	/* overwritten by codec */
 	pdu := {
-		dtap := ?
+		dtap := dtap
 	}
 }
 

-- 
To view, visit https://gerrit.osmocom.org/5949
To unsubscribe, visit https://gerrit.osmocom.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I641ee8ce5e5ae70b514342cf68cdc79b1926c4d0
Gerrit-PatchSet: 2
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder



More information about the gerrit-log mailing list