lynxis lazus has uploaded this change for review.

View Change

ARA-M: fix encoding of the PkgRefDO when using aram_store_ref_ar_do

The command wasn't used the correct dict to allow the encoders to work.

Related: OS#6121
Change-Id: Ic2bc179b413a6b139e07e3e55b93ff921cb020a9
---
M pySim/ara_m.py
1 file changed, 13 insertions(+), 1 deletion(-)

git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/07/34007/1
diff --git a/pySim/ara_m.py b/pySim/ara_m.py
index e2e6da1..8144381 100644
--- a/pySim/ara_m.py
+++ b/pySim/ara_m.py
@@ -354,7 +354,7 @@
ref_do_content += [{'aid_ref_empty_do': None}]
ref_do_content += [{'dev_app_id_ref_do': opts.device_app_id}]
if opts.pkg_ref:
- ref_do_content += [{'pkg_ref_do': opts.pkg_ref}]
+ ref_do_content += [{'pkg_ref_do': {'package_name_string': opts.pkg_ref}}]
# AR
ar_do_content = []
if opts.apdu_never:

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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ic2bc179b413a6b139e07e3e55b93ff921cb020a9
Gerrit-Change-Number: 34007
Gerrit-PatchSet: 1
Gerrit-Owner: lynxis lazus <lynxis@fe80.eu>
Gerrit-MessageType: newchange