jolly has submitted this change. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43277?usp=email )
Change subject: IPAd: Add EuiccPackageResultList to TC_proc_euicc_data_req ......................................................................
IPAd: Add EuiccPackageResultList to TC_proc_euicc_data_req
Because tag 'A2' is now part of the ts_ipaEuiccDataRequest template, we expect a RetrieveNotificationsListRequest towards eUICC and we respond with an empty EuiccPackageResultList.
Related: SYS#8101 Change-Id: I7d1d81e0c4a2e521b27356ce6c8efa82c52f7a55 --- M ipad/IPAd_Tests.ttcn M library/euicc/SGP32Definitions_Templates.ttcn M library/euicc/SGP32Definitions_Types.ttcn 3 files changed, 16 insertions(+), 0 deletions(-)
Approvals: dexter: Looks good to me, approved Jenkins Builder: Verified
diff --git a/ipad/IPAd_Tests.ttcn b/ipad/IPAd_Tests.ttcn index 1a275fe..b368e45 100644 --- a/ipad/IPAd_Tests.ttcn +++ b/ipad/IPAd_Tests.ttcn @@ -724,6 +724,7 @@ 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_prfleInstRes))); + f_vpcd_transceive(enc_SGP32_RetrieveNotificationsListResponse(valueof(ts_retrieveNotificationsListResponse_euiccPkgRes)));
/* IPAd will return the data to us */ f_esipa_transceive(valueof(ts_provideEimPackageResultResponse_eimAck(eimAcknowledgements := {1,2,3,4})), diff --git a/library/euicc/SGP32Definitions_Templates.ttcn b/library/euicc/SGP32Definitions_Templates.ttcn index 839df9c..ff6dcd0 100644 --- a/library/euicc/SGP32Definitions_Templates.ttcn +++ b/library/euicc/SGP32Definitions_Templates.ttcn @@ -828,6 +828,16 @@ } }
+/* GSMA SGP.32, section 5.9.11 */ +template (present) SGP32_RetrieveNotificationsListResponse +tr_retrieveNotificationsListResponse_euiccPkgRes(template (present) EuiccPackageResultList euiccPackageResultList := ?) := { + euiccPackageResultList := euiccPackageResultList +} +template (value) SGP32_RetrieveNotificationsListResponse +ts_retrieveNotificationsListResponse_euiccPkgRes(template (value) EuiccPackageResultList euiccPackageResultList := {}) := { + euiccPackageResultList := euiccPackageResultList +} + /* GSMA SGP.32, section 6.3.2.4 */ template (present) SGP32_PendingNotification tr_SGP32_pendingNotification_prfleInstRslt := { profileInstallationResult := { diff --git a/library/euicc/SGP32Definitions_Types.ttcn b/library/euicc/SGP32Definitions_Types.ttcn index 17f1c72..fb6b51b 100644 --- a/library/euicc/SGP32Definitions_Types.ttcn +++ b/library/euicc/SGP32Definitions_Types.ttcn @@ -103,4 +103,9 @@ external function enc_EuiccPackageRequest(in EuiccPackageRequest msg) return octetstring with { extension "prototype(convert) encode(BER:BER_ENCODE_DER)" };
+external function dec_SGP32_RetrieveNotificationsListResponse(in octetstring stream) return SGP32_RetrieveNotificationsListResponse +with { extension "prototype(convert) decode(BER:BER_ACCEPT_ALL)" }; +external function enc_SGP32_RetrieveNotificationsListResponse(in SGP32_RetrieveNotificationsListResponse msg) return octetstring +with { extension "prototype(convert) encode(BER:BER_ENCODE_DER)" }; + }