dexter submitted this change.

View Change

Approvals: Jenkins Builder: Verified jolly: Looks good to me, but someone else must approve dexter: Looks good to me, approved
es10b_add_init_eim: display original eIM config before loading

The log displays the messages exchanged between the host and the
eUICC. However, when the IoT eUICC emulation is active, the
AddInitialEim will display the eIM configuration as it is stored.
This is a modified version of the eIM configuration.

In some cases it is very important to monitor the exact eIM
configuration as it is loaded from the input file. So let's log
the unmodifed eIM configuration before carrying out any action.

Related: SYS#8287
Change-Id: I8d9600c8701ea98258dd035ab0fd32a9ab96efa2
---
M src/ipa/libipa/es10b_add_init_eim.c
1 file changed, 4 insertions(+), 0 deletions(-)

diff --git a/src/ipa/libipa/es10b_add_init_eim.c b/src/ipa/libipa/es10b_add_init_eim.c
index ba9e3c1..2efa02d 100644
--- a/src/ipa/libipa/es10b_add_init_eim.c
+++ b/src/ipa/libipa/es10b_add_init_eim.c
@@ -238,6 +238,10 @@
struct ipa_es10b_add_init_eim_res *ipa_es10b_add_init_eim(struct ipa_context *ctx,
const struct ipa_es10b_add_init_eim_req *req)
{
+ IPA_LOGP_ES10X("AddInitialEim", LDEBUG,
+ "The following eIM configuration is programmed into the eUICC:\n");
+ ipa_asn1c_dump(&asn_DEF_AddInitialEimRequest, &req->req, 1, SES10X, LDEBUG);
+
if (ctx->cfg->iot_euicc_emu_enabled)
return add_init_eim_iot_emu(ctx, req);
else

To view, visit change 43934. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: onomondo-ipa
Gerrit-Branch: master
Gerrit-Change-Id: I8d9600c8701ea98258dd035ab0fd32a9ab96efa2
Gerrit-Change-Number: 43934
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: dexter <pmaier@sysmocom.de>
Gerrit-Reviewer: jolly <andreas@eversberg.eu>
Gerrit-Reviewer: laforge <laforge@osmocom.org>