dexter has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/37503?usp=email )
Change subject: RSPDefinitions_Templates: add variants of ts_retrieveNotificationsListResponse ......................................................................
RSPDefinitions_Templates: add variants of ts_retrieveNotificationsListResponse
There is currently only ts_retrieveNotificationsListResponse, which has a profileInstallationResult in its notificationList. However, we will need different variants of this template, so let's give it an appropriate prefix. Let's also add a first variant that has just an empty notificationList
Change-Id: I1802b63a51bf68080b3ef81a967a964d961a1b96 Related: SYS#6563 --- M ipad/IPAd_Tests.ttcn M library/euicc/RSPDefinitions_Templates.ttcn 2 files changed, 25 insertions(+), 5 deletions(-)
Approvals: osmith: Looks good to me, approved pespin: Looks good to me, but someone else must approve Jenkins Builder: Verified
diff --git a/ipad/IPAd_Tests.ttcn b/ipad/IPAd_Tests.ttcn index 3ea2e4b..d1f9214 100644 --- a/ipad/IPAd_Tests.ttcn +++ b/ipad/IPAd_Tests.ttcn @@ -515,7 +515,7 @@ f_vpcd_transceive(enc_EuiccPackageResult(valueof(ts_euiccPackageResult)));
/* Step #9 */ - f_vpcd_transceive(enc_RetrieveNotificationsListResponse(valueof(ts_retrieveNotificationsListResponse))); + f_vpcd_transceive(enc_RetrieveNotificationsListResponse(valueof(ts_retrieveNotificationsListResponse_prfleInstRes)));
/* Step #10-14 */ f_esipa_transceive(valueof(ts_provideEimPackageResultResponse_eimAck(eimAcknowledgements := {1,2,3,4})), @@ -560,7 +560,7 @@ f_vpcd_transceive(enc_EuiccPackageResult(valueof(ts_euiccPackageResult)));
/* Step #9 */ - f_vpcd_transceive(enc_RetrieveNotificationsListResponse(valueof(ts_retrieveNotificationsListResponse))); + f_vpcd_transceive(enc_RetrieveNotificationsListResponse(valueof(ts_retrieveNotificationsListResponse_prfleInstRes)));
/* We now ignore the response from the IPAd. The IPAd will interpret this as a disturbed IP connection. */ f_esipa_receive(); @@ -573,7 +573,7 @@ * to continue the procedure normally. */
/* Step #9 */ - f_vpcd_transceive(enc_RetrieveNotificationsListResponse(valueof(ts_retrieveNotificationsListResponse))); + f_vpcd_transceive(enc_RetrieveNotificationsListResponse(valueof(ts_retrieveNotificationsListResponse_prfleInstRes)));
/* Step #10-14 */ f_esipa_transceive(valueof(ts_provideEimPackageResultResponse_eimAck(eimAcknowledgements := {1,2,3,4})), @@ -621,7 +621,7 @@ f_vpcd_transceive(enc_EUICCInfo2(valueof(ts_EUICCInfo2))); f_vpcd_transceive(enc_GetEimConfigurationDataResponse(valueof(ts_getEimConfigurationDataResponse(eim_fqdn)))); f_vpcd_transceive(enc_GetCertsResponse(valueof(ts_getCertsResponse))); - f_vpcd_transceive(enc_RetrieveNotificationsListResponse(valueof(ts_retrieveNotificationsListResponse))); + f_vpcd_transceive(enc_RetrieveNotificationsListResponse(valueof(ts_retrieveNotificationsListResponse_prfleInstRes)));
/* IPAd will return the data to us */ f_esipa_transceive(valueof(ts_provideEimPackageResultResponse_eimAck(eimAcknowledgements := {1,2,3,4})), diff --git a/library/euicc/RSPDefinitions_Templates.ttcn b/library/euicc/RSPDefinitions_Templates.ttcn index ebc2490..2a7df8b 100644 --- a/library/euicc/RSPDefinitions_Templates.ttcn +++ b/library/euicc/RSPDefinitions_Templates.ttcn @@ -559,7 +559,7 @@
/* GSMA SGP.22, section 5.7.10 (ES10x) */ template (value) RetrieveNotificationsListResponse -ts_retrieveNotificationsListResponse := { +ts_retrieveNotificationsListResponse_prfleInstRes := { notificationList := { { profileInstallationResult := { @@ -569,6 +569,11 @@ } } } +template (value) RetrieveNotificationsListResponse +ts_retrieveNotificationsListResponse_empty := { + notificationList := { + } +}
/* GSMA SGP.22, section 5.7.11 (ES10x) */ template (present) NotificationSentResponse