laforge has submitted this change. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36820?usp=email )

Change subject: RSPDefinitions_Templates: split off 
profileInstallationResultData into templates
......................................................................

RSPDefinitions_Templates: split off profileInstallationResultData into templates

The field profileInstallationResultData in tr/ts_profileInstallationResult
is also present in SGP.32 messages, so lets split this field into a separate
template so that we can use it in the SGP32Definitions_Templates as
well.

Related: SYS#6824
Change-Id: Ie38443f86ed2d8d758f894ff4276ac4109cd2e6d
---
M library/euicc/RSPDefinitions_Templates.ttcn
1 file changed, 46 insertions(+), 28 deletions(-)

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified
  pespin: Looks good to me, but someone else must approve




diff --git a/library/euicc/RSPDefinitions_Templates.ttcn 
b/library/euicc/RSPDefinitions_Templates.ttcn
index bae10fd..fc87ff6 100644
--- a/library/euicc/RSPDefinitions_Templates.ttcn
+++ b/library/euicc/RSPDefinitions_Templates.ttcn
@@ -210,43 +210,46 @@
 }

 /* GSMA SGP.22, section 2.5.6 */
+template (present) ProfileInstallationResultData
+tr_profileInstallationResultData := {
+       transactionId := ?,
+       notificationMetadata := {
+               seqNumber := ?,
+               profileManagementOperation := ?,
+               notificationAddress := ?,
+               iccid := *
+       },
+       smdpOid := ?,
+       finalResult := ?
+}
+template (value) ProfileInstallationResultData
+ts_profileInstallationResultData := {
+       transactionId := 'AABBCC'O,
+       notificationMetadata := {
+               seqNumber := 1234,
+               profileManagementOperation := '01'B, /* is this correct? 
(notificationInstall) */
+               notificationAddress := "smdp.example.com",
+               iccid := omit
+       },
+       smdpOid := id_rsp, /* random OBJECT IDENTIFIER for testing */
+       finalResult := {
+               successResult := {
+                       aid := '0102030405'O,
+                       simaResponse := 
'4141414141414141414141414141414141414141414141414141'O
+               }
+       }
+}
 template (present) ProfileInstallationResult
 tr_profileInstallationResult := {
-       profileInstallationResultData := {
-               transactionId := ?,
-               notificationMetadata := {
-                       seqNumber := ?,
-                       profileManagementOperation := ?,
-                       notificationAddress := ?,
-                       iccid := *
-               },
-               smdpOid := ?,
-               finalResult := ?
-       },
+       profileInstallationResultData := tr_profileInstallationResultData,
        euiccSignPIR := ?
 }
 template (value) ProfileInstallationResult
 ts_profileInstallationResult := {
-       profileInstallationResultData := {
-               transactionId := 'AABBCC'O,
-               notificationMetadata := {
-                       seqNumber := 1234,
-                       profileManagementOperation := '01'B, /* is this 
correct? (notificationInstall) */
-                       notificationAddress := "smdp.example.com",
-                       iccid := omit
-               },
-               smdpOid := id_rsp, /* random OBJECT IDENTIFIER for testing */
-               finalResult := {
-                       successResult := {
-                               aid := '0102030405'O,
-                               simaResponse := 
'4141414141414141414141414141414141414141414141414141'O
-                       }
-               }
-       },
+       profileInstallationResultData := ts_profileInstallationResultData,
        euiccSignPIR := '00112233445566778899AABBCCDDEEFF'O
 }

-
 /* GSMA SGP.22, section 5.6.1 (ES9+) */
 template (present) RemoteProfileProvisioningRequest
 tr_initiateAuthenticationRequest(template (present) octetstring euiccChallenge 
:= ?,

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36820?usp=email
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: Ie38443f86ed2d8d758f894ff4276ac4109cd2e6d
Gerrit-Change-Number: 36820
Gerrit-PatchSet: 2
Gerrit-Owner: dexter <pma...@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <lafo...@osmocom.org>
Gerrit-Reviewer: pespin <pes...@sysmocom.de>
Gerrit-MessageType: merged

Reply via email to