jolly has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/43277?usp=email )
Change subject: IPAd: Add tag 'A2' to TC_proc_euicc_data_req ......................................................................
IPAd: Add tag 'A2' to TC_proc_euicc_data_req
Because tag 'A2' is now part of the euiccDataReq, 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, 14 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/77/43277/1
diff --git a/ipad/IPAd_Tests.ttcn b/ipad/IPAd_Tests.ttcn index 3bbc95f..2bdda7b 100644 --- a/ipad/IPAd_Tests.ttcn +++ b/ipad/IPAd_Tests.ttcn @@ -709,6 +709,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_empty)));
/* 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..5304c2c 100644 --- a/library/euicc/SGP32Definitions_Templates.ttcn +++ b/library/euicc/SGP32Definitions_Templates.ttcn @@ -828,6 +828,14 @@ } }
+/* GSMA SGP.32, section 5.9.11 */ +template (value) SGP32_RetrieveNotificationsListResponse +ts_retrieveNotificationsListResponse_euiccPkgRes_empty := { + 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)" }; + }