SGP32Definitions_Templates: add new set of templates to support rollback
This patch adds a number of templates that are needed to test profile
rollback.
Related: SYS#6563
Change-Id: I6db76afb102bf011655b7dbca9cff07b8116eb8d
diff --git a/library/euicc/SGP32Definitions_Templates.ttcn b/library/euicc/SGP32Definitions_Templates.ttcn
index 29e7579..c178a9c 100644
--- a/library/euicc/SGP32Definitions_Templates.ttcn
+++ b/library/euicc/SGP32Definitions_Templates.ttcn
@@ -437,4 +437,43 @@
}
}
+/* GSMA SGP.32, section 5.9.16 */
+template (present) ProfileRollbackRequest
+tr_profileRollbackRequest := {
+ refreshFlag := ?
+}
+template (value) ProfileRollbackRequest
+ts_profileRollbackRequest := {
+ refreshFlag := false
+}
+template (present) ProfileRollbackResponse
+tr_profileRollbackResponse := {
+ cmdResult := ?,
+ eUICCPackageResult := ?
+}
+template (value) ProfileRollbackResponse
+ts_profileRollbackResponse := {
+ cmdResult := 0,
+ eUICCPackageResult := {
+ euiccPackageResultSigned := {
+ euiccPackageResultDataSigned := {
+ eimId := "myEim",
+ counterValue := 333,
+ transactionId := omit,
+ seqNumber := 1234,
+ euiccResult := {
+ {
+ enableResult := 0
+ },
+ {
+ rollbackResult := 0
+ }
+ }
+ },
+ euiccSignEPR := 'AABBCCDDEEFF'O
+ }
+ }
+}
+
+
}