SGP32Definitions_Templates: put EimConfigurationData into separate template
We currently have the EimConfigurationData enclosed in
ts_getEimConfigurationDataResponse. This is mainly a list of
with one EimConfigurationData record, so it is useful to have the
EimConfigurationData in a dedicated template, so that we can use it in
other places too.
Related: SYS#6824
Change-Id: Id953bf286a6402528a6d3f82f73bb78538fe90cf
diff --git a/library/euicc/SGP32Definitions_Templates.ttcn b/library/euicc/SGP32Definitions_Templates.ttcn
index d18fee4..b1b946f 100644
--- a/library/euicc/SGP32Definitions_Templates.ttcn
+++ b/library/euicc/SGP32Definitions_Templates.ttcn
@@ -902,6 +902,30 @@
}
/* GSMA SGP.32, section 5.9.18 */
+template (present) EimConfigurationData
+tr_eimConfigurationData := {
+ eimId := ?,
+ eimFqdn := *,
+ eimIdType := *,
+ counterValue := *,
+ associationToken := *,
+ eimPublicKeyData := *,
+ trustedPublicKeyDataTls := *,
+ eimSupportedProtocol := *,
+ euiccCiPKId := *
+}
+template (value) EimConfigurationData
+ts_eimConfigurationData(template (omit) charstring eimFqdn := omit) := {
+ eimId := "myEIM",
+ eimFqdn := eimFqdn,
+ eimIdType := omit,
+ counterValue := omit,
+ associationToken := 123,
+ eimPublicKeyData := omit,
+ trustedPublicKeyDataTls := omit,
+ eimSupportedProtocol := omit,
+ euiccCiPKId := omit
+}
template (present) GetEimConfigurationDataResponse
tr_getEimConfigurationDataResponse := {
eimConfigurationDataList := ?
@@ -909,17 +933,7 @@
template (value) GetEimConfigurationDataResponse
ts_getEimConfigurationDataResponse(template (value) charstring eimFqdn := "127.0.0.1") := {
eimConfigurationDataList := {
- {
- eimId := "myEIM",
- eimFqdn := eimFqdn,
- eimIdType := omit,
- counterValue := omit,
- associationToken := 123,
- eimPublicKeyData := omit,
- trustedPublicKeyDataTls := omit,
- eimSupportedProtocol := omit,
- euiccCiPKId := omit
- }
+ ts_eimConfigurationData(eimFqdn)
}
}