dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/onomondo-ipa/+/43934?usp=email )
Change subject: es10b_add_init_eim: display original eIM config before loading ......................................................................
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