library/SS_Templates.ttcn: add SS_USSD_FACILITY_INVOKE templates
Change-Id: Ic561b6b2eee7315d42fcd5ec5fef182ae097d3b7
diff --git a/library/SS_Templates.ttcn b/library/SS_Templates.ttcn
index 1129108..6d8fcf2 100644
--- a/library/SS_Templates.ttcn
+++ b/library/SS_Templates.ttcn
@@ -122,6 +122,47 @@
}
}
+template (value) SS_FacilityInformation ts_SS_FACILITY_INVOKE(
+ integer invoke_id := 1,
+ SS_Op_Code op_code,
+ OCT1 ss_code
+) := {
+ {
+ invoke := {
+ invokeId := { present_ := invoke_id },
+ linkedId := omit,
+ opcode := { local := enum2int(op_code) },
+ argument := {
+ sS_ForBS_Code := {
+ ss_Code := ss_code,
+ basicService := omit,
+ longFTN_Supported := omit
+ }
+ }
+ }
+ }
+}
+template SS_FacilityInformation tr_SS_FACILITY_INVOKE(
+ template integer invoke_id := 1,
+ template integer op_code := ?,
+ template OCT1 ss_code := ?
+) := {
+ {
+ invoke := {
+ invokeId := { present_ := invoke_id },
+ linkedId := omit,
+ opcode := { local := op_code },
+ argument := {
+ sS_ForBS_Code := {
+ ss_Code := ss_code,
+ basicService := omit,
+ longFTN_Supported := omit
+ }
+ }
+ }
+ }
+}
+
template (value) SS_FacilityInformation ts_SS_USSD_FACILITY_RETURN_RESULT(
integer invoke_id := 1,
SS_Op_Code op_code := SS_OP_CODE_PROCESS_USS_REQ,