SGP32Definitions_Templates: add templates for eCOs
We do not have any templates for eCOs yet.
This patch adds templates for all currently specified eCOs.
Related: SYS#6824
Change-Id: I15d6a036b77c329e30a6f7323d511f8071683ec0
diff --git a/library/euicc/SGP32Definitions_Templates.ttcn b/library/euicc/SGP32Definitions_Templates.ttcn
index b1b946f..709a58f 100644
--- a/library/euicc/SGP32Definitions_Templates.ttcn
+++ b/library/euicc/SGP32Definitions_Templates.ttcn
@@ -408,6 +408,72 @@
}
}
}
+template (present) EuiccPackage
+tr_euiccPackage_addEim := {
+ ecoList := {
+ {
+ addEim := tr_eimConfigurationData
+ }
+ }
+}
+template (value) EuiccPackage
+ts_euiccPackage_addEim := {
+ ecoList := {
+ {
+ addEim := ts_eimConfigurationData
+ }
+ }
+}
+template (present) EuiccPackage
+tr_euiccPackage_deleteEim := {
+ ecoList := {
+ {
+ deleteEim := ?
+ }
+ }
+}
+template (value) EuiccPackage
+ts_euiccPackage_deleteEim := {
+ ecoList := {
+ {
+ deleteEim := {
+ eimId := "eIM"
+ }
+ }
+ }
+}
+template (present) EuiccPackage
+tr_euiccPackage_updateEim := {
+ ecoList := {
+ {
+ updateEim := tr_eimConfigurationData
+ }
+ }
+}
+template (value) EuiccPackage
+ts_euiccPackage_updateEim := {
+ ecoList := {
+ {
+ updateEim := ts_eimConfigurationData
+ }
+ }
+}
+template (present) EuiccPackage
+tr_euiccPackage_listEim := {
+ ecoList := {
+ {
+ listEim := { }
+ }
+ }
+}
+template (value) EuiccPackage
+ts_euiccPackage_listEim := {
+ ecoList := {
+ {
+ listEim := { }
+ }
+ }
+}
/* GSMA SGP.32, section 6.3.2.6 */
template (present) EsipaMessageFromEimToIpa
@@ -851,6 +917,151 @@
euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O
}
}
+template (present) EuiccPackageResult
+tr_euiccPackageResultSigned_addEim := {
+ euiccPackageResultSigned := {
+ euiccPackageResultDataSigned := {
+ eimId := ?,
+ counterValue := ?,
+ transactionId := *,
+ seqNumber := ?,
+ euiccResult := {
+ {
+ addEimResult := ?
+ }
+ }
+ },
+ euiccSignEPR := ?
+ }
+}
+template (value) EuiccPackageResult
+ts_euiccPackageResultSigned_addEim := {
+ euiccPackageResultSigned := {
+ euiccPackageResultDataSigned := {
+ eimId := "myEIM",
+ counterValue := 1,
+ transactionId := omit,
+ seqNumber := 123,
+ euiccResult := {
+ {
+ addEimResult := {
+ addEimResultCode := 0
+ }
+ }
+ }
+ },
+ euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O
+ }
+}
+template (present) EuiccPackageResult
+tr_euiccPackageResultSigned_deleteEim := {
+ euiccPackageResultSigned := {
+ euiccPackageResultDataSigned := {
+ eimId := ?,
+ counterValue := ?,
+ transactionId := *,
+ seqNumber := ?,
+ euiccResult := {
+ {
+ deleteEimResult := ?
+ }
+ }
+ },
+ euiccSignEPR := ?
+ }
+}
+template (value) EuiccPackageResult
+ts_euiccPackageResultSigned_deleteEim := {
+ euiccPackageResultSigned := {
+ euiccPackageResultDataSigned := {
+ eimId := "myEIM",
+ counterValue := 1,
+ transactionId := omit,
+ seqNumber := 123,
+ euiccResult := {
+ {
+ deleteEimResult := 0
+ }
+ }
+ },
+ euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O
+ }
+}
+template (present) EuiccPackageResult
+tr_euiccPackageResultSigned_updateEim := {
+ euiccPackageResultSigned := {
+ euiccPackageResultDataSigned := {
+ eimId := ?,
+ counterValue := ?,
+ transactionId := *,
+ seqNumber := ?,
+ euiccResult := {
+ {
+ updateEimResult := ?
+ }
+ }
+ },
+ euiccSignEPR := ?
+ }
+}
+template (value) EuiccPackageResult
+ts_euiccPackageResultSigned_updateEim := {
+ euiccPackageResultSigned := {
+ euiccPackageResultDataSigned := {
+ eimId := "myEIM",
+ counterValue := 1,
+ transactionId := omit,
+ seqNumber := 123,
+ euiccResult := {
+ {
+ updateEimResult := 0
+ }
+ }
+ },
+ euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O
+ }
+}
+template (present) EuiccPackageResult
+tr_euiccPackageResultSigned_listEim := {
+ euiccPackageResultSigned := {
+ euiccPackageResultDataSigned := {
+ eimId := ?,
+ counterValue := ?,
+ transactionId := *,
+ seqNumber := ?,
+ euiccResult := {
+ {
+ listEimResult := ?
+ }
+ }
+ },
+ euiccSignEPR := ?
+ }
+}
+template (value) EuiccPackageResult
+ts_euiccPackageResultSigned_listEim := {
+ euiccPackageResultSigned := {
+ euiccPackageResultDataSigned := {
+ eimId := "myEIM",
+ counterValue := 1,
+ transactionId := omit,
+ seqNumber := 123,
+ euiccResult := {
+ {
+ listEimResult := {
+ eimIdList := {
+ {
+ eimId := "eIM",
+ eimIdType := omit
+ }
+ }
+ }
+ }
+ }
+ },
+ euiccSignEPR := '00112233445566778899AABBCCDDEEFF'O
+ }
+}
template (present) EsipaMessageFromIpaToEim
tr_provideEimPackageResult_ePRAndNotif(template (present) EuiccPackageResult euiccPackageResult := tr_euiccPackageResultSigned_enablePsmo) := {
provideEimPackageResult := {