dexter has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43877?usp=email )


Change subject: RSPDefinitions_Templates: add 
tr/ts_profileInstallationResultData_err
......................................................................

RSPDefinitions_Templates: add tr/ts_profileInstallationResultData_err

We already have a tr/ts_profileInstallationResultData temlate
for the success case (successResult), let's now add a coresponding
template for the error case (errorResult).

Change-Id: Ib927cdea65adc633a8e4b93739f894b4adabffb5
Related: SYS#8203
---
M library/euicc/RSPDefinitions_Templates.ttcn
1 file changed, 36 insertions(+), 0 deletions(-)



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

diff --git a/library/euicc/RSPDefinitions_Templates.ttcn 
b/library/euicc/RSPDefinitions_Templates.ttcn
index ee93d1f..10116c5 100644
--- a/library/euicc/RSPDefinitions_Templates.ttcn
+++ b/library/euicc/RSPDefinitions_Templates.ttcn
@@ -648,6 +648,42 @@
                }
        }
 }
+template (present) ProfileInstallationResultData
+tr_profileInstallationResultData_err(template (present) charstring 
notificationAddress := ?) := {
+       transactionId := ?,
+       notificationMetadata := {
+               seqNumber := ?,
+               profileManagementOperation := ?,
+               notificationAddress := notificationAddress,
+               iccid := *
+       },
+       smdpOid := ?,
+       finalResult := {
+               errorResult := {
+                       bppCommandId := ?,
+                       errorReason := ?,
+                       simaResponse := *
+               }
+       }
+}
+template (value) ProfileInstallationResultData
+ts_profileInstallationResultData_err(template (value) charstring 
notificationAddress := SGP23_TEST_DP_ADDRESS1) := {
+       transactionId := SGP23_S_TRANSACTION_ID,
+       notificationMetadata := {
+               seqNumber := 1234,
+               profileManagementOperation := '1'B, /* notificationInstall */
+               notificationAddress := notificationAddress,
+               iccid := SGP23_ICCID_OP_PROF1
+       },
+       smdpOid := SGP23_S_SM_DPp_OID,
+       finalResult := {
+               errorResult := {
+                       bppCommandId := 5, /* loadProfileElements */
+                       errorReason := 1, /* incorrectInputValues */
+                       simaResponse := omit
+               }
+       }
+}
 template (present) ProfileInstallationResult
 tr_profileInstallationResult(template (present) ProfileInstallationResultData 
profileInstallationResultData := tr_profileInstallationResultData,
                             template (present) octetstring euiccSignPIR := ?) 
:= {

--
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43877?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings?usp=email

Gerrit-MessageType: newchange
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ib927cdea65adc633a8e4b93739f894b4adabffb5
Gerrit-Change-Number: 43877
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>

Reply via email to