dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36916?usp=email )
Change subject: SGP32Definitions_Templates: put EimConfigurationData into separate template ...................................................................... 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 --- M library/euicc/SGP32Definitions_Templates.ttcn 1 file changed, 41 insertions(+), 11 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/16/36916/1 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) } } -- To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/36916?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-ttcn3-hacks Gerrit-Branch: master Gerrit-Change-Id: Id953bf286a6402528a6d3f82f73bb78538fe90cf Gerrit-Change-Number: 36916 Gerrit-PatchSet: 1 Gerrit-Owner: dexter <pma...@sysmocom.de> Gerrit-MessageType: newchange