Vadim Yanitskiy has uploaded this change for review. ( 
https://gerrit.osmocom.org/11959


Change subject: library/SS_Templates.ttcn: add SS_USSD_FACILITY_INVOKE templates
......................................................................

library/SS_Templates.ttcn: add SS_USSD_FACILITY_INVOKE templates

Change-Id: Ic561b6b2eee7315d42fcd5ec5fef182ae097d3b7
---
M library/SS_Templates.ttcn
1 file changed, 41 insertions(+), 0 deletions(-)



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

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,

--
To view, visit https://gerrit.osmocom.org/11959
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic561b6b2eee7315d42fcd5ec5fef182ae097d3b7
Gerrit-Change-Number: 11959
Gerrit-PatchSet: 1
Gerrit-Owner: Vadim Yanitskiy <[email protected]>

Reply via email to