bsc: reduce code duplication; add new test case on too short messages
Change-Id: I8232ee58c14a4358a01b5428ff2b4e559491b185
diff --git a/library/L3_Templates.ttcn b/library/L3_Templates.ttcn
index 948565d..47e1f62 100644
--- a/library/L3_Templates.ttcn
+++ b/library/L3_Templates.ttcn
@@ -349,6 +349,42 @@
}
}
+template (value) PDU_ML3_MS_NW ts_RRM_UL_REL(OCT1 cause) := {
+ discriminator := '0110'B,
+ tiOrSkip := {
+ skipIndicator := '0000'B
+ },
+ msgs := {
+ rrm := {
+ uplinkRelease := {
+ messageType := '00001110'B,
+ rR_Cause := {
+ valuePart := cause
+ }
+ }
+ }
+ }
+}
+
+template PDU_ML3_MS_NW tr_RRM_RR_STATUS(template OCT1 cause := ?) := {
+ discriminator := '0110'B,
+ tiOrSkip := {
+ skipIndicator := '0000'B
+ },
+ msgs := {
+ rrm := {
+ rR_Status := {
+ messageType := '00010010'B,
+ rR_Cause := {
+ valuePart := cause
+ }
+ }
+ }
+ }
+}
+
+
+
template PDU_ML3_MS_NW ts_ML3_MO := {
discriminator := '0000'B,
tiOrSkip := {