dexter has submitted this change. (
https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43877?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
tr/ts_profileInstallationResultData_err
......................................................................
RSPDefinitions_Templates: add tr/ts_profileInstallationResultData_err
We already have a tr/ts_profileInstallationResultData template
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, 42 insertions(+), 0 deletions(-)
Approvals:
jolly: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
Jenkins Builder: Verified
diff --git a/library/euicc/RSPDefinitions_Templates.ttcn
b/library/euicc/RSPDefinitions_Templates.ttcn
index 1147017..4ebb0b3 100644
--- a/library/euicc/RSPDefinitions_Templates.ttcn
+++ b/library/euicc/RSPDefinitions_Templates.ttcn
@@ -656,6 +656,48 @@
}
}
}
+template (present) ProfileInstallationResultData
+tr_profileInstallationResultData_err(template (present) charstring
notificationAddress := ?,
+ template integer bppCommandId := ?,
+ template integer errorReason := ?,
+ template octetstring simaResponse := *) :=
{
+ transactionId := ?,
+ notificationMetadata := {
+ seqNumber := ?,
+ profileManagementOperation := ?,
+ notificationAddress := notificationAddress,
+ iccid := omit
+ },
+ smdpOid := ?,
+ finalResult := {
+ errorResult := {
+ bppCommandId := bppCommandId,
+ errorReason := errorReason,
+ simaResponse := simaResponse
+ }
+ }
+}
+template (value) ProfileInstallationResultData
+ts_profileInstallationResultData_err(template (value) charstring
notificationAddress := SGP23_TEST_DP_ADDRESS1,
+ template (value) integer bppCommandId :=
5, /* loadProfileElements */
+ template (value) integer errorReason := 1,
/* incorrectInputValues */
+ template (omit) octetstring simaResponse
:= omit) := {
+ transactionId := SGP23_S_TRANSACTION_ID,
+ notificationMetadata := {
+ seqNumber := 1234,
+ profileManagementOperation := '1'B, /* notificationInstall */
+ notificationAddress := notificationAddress,
+ iccid := omit
+ },
+ smdpOid := SGP23_S_SM_DPp_OID,
+ finalResult := {
+ errorResult := {
+ bppCommandId := bppCommandId,
+ errorReason := errorReason,
+ simaResponse := simaResponse
+ }
+ }
+}
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: merged
Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ib927cdea65adc633a8e4b93739f894b4adabffb5
Gerrit-Change-Number: 43877
Gerrit-PatchSet: 3
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <[email protected]>
Gerrit-Reviewer: jolly <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>