dexter has uploaded this change for review.

View Change

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(-)

git pull ssh://gerrit.osmocom.org:29418/onomondo-ipa refs/changes/34/43934/1
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: newchange
Gerrit-Project: onomondo-ipa
Gerrit-Branch: master
Gerrit-Change-Id: I8d9600c8701ea98258dd035ab0fd32a9ab96efa2
Gerrit-Change-Number: 43934
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier@sysmocom.de>