dexter has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43875?usp=email )
(
2 is the latest approved patch-set. No files were changed between the latest approved patch-set and the submitted one. )Change subject: RSPDefinitions_Templates: add parameters to ts/tr_profileInstallationResultData ......................................................................
RSPDefinitions_Templates: add parameters to ts/tr_profileInstallationResultData
The templates ts/tr_profileInstallationResultData currently do not allow to set parameters. In particular not in the finalResult field. Let's extend the template so that we can set the parameters.
Change-Id: I445c906a0142a401c305dbcbb3e94843a8f5fce9 Related: SYS#8203 --- M library/euicc/RSPDefinitions_Templates.ttcn 1 file changed, 21 insertions(+), 8 deletions(-)
Approvals: Jenkins Builder: Verified laforge: Looks good to me, approved jolly: Looks good to me, but someone else must approve
diff --git a/library/euicc/RSPDefinitions_Templates.ttcn b/library/euicc/RSPDefinitions_Templates.ttcn index 93485a1..9565c73 100644 --- a/library/euicc/RSPDefinitions_Templates.ttcn +++ b/library/euicc/RSPDefinitions_Templates.ttcn @@ -615,20 +615,33 @@
/* GSMA SGP.22, section 2.5.6 */ template (present) ProfileInstallationResultData -tr_profileInstallationResultData(template (present) charstring notificationAddress := ?) := { - transactionId := ?, +tr_profileInstallationResultData(template (present) charstring notificationAddress := ?, + template (present) octetstring transactionId := ?, + template (present) octetstring iccid := ?, + template (present) octetstring aid := ?, + template (present) octetstring simaResponse := ?) := { + transactionId := transactionId, notificationMetadata := { seqNumber := ?, profileManagementOperation := ?, notificationAddress := notificationAddress, - iccid := * + iccid := iccid }, smdpOid := ?, - finalResult := ? + finalResult := { + successResult := { + aid := ?, + simaResponse := ? + } + } } template (value) ProfileInstallationResultData -ts_profileInstallationResultData(template (value) charstring notificationAddress := SGP23_TEST_DP_ADDRESS1) := { - transactionId := SGP23_S_TRANSACTION_ID, +ts_profileInstallationResultData(template (value) charstring notificationAddress := SGP23_TEST_DP_ADDRESS1, + template (value) octetstring transactionId := SGP23_S_TRANSACTION_ID, + template (value) octetstring iccid := SGP23_ICCID_OP_PROF1, + template (value) octetstring aid := SGP23_SSD_AID, + template (value) octetstring simaResponse := SGP23_SIMA_RESULT_OK) := { + transactionId := transactionId, notificationMetadata := { seqNumber := 1234, profileManagementOperation := '01'B, /* is this correct? (notificationInstall) */ @@ -638,8 +651,8 @@ smdpOid := SGP23_S_SM_DPp_OID, finalResult := { successResult := { - aid := SGP23_SSD_AID, - simaResponse := SGP23_SIMA_RESULT_OK + aid := aid, + simaResponse := simaResponse } } }