Change in pysim[master]: pysim-shell: select MF on startup to make commands accessible

dexter gerrit-no-reply at lists.osmocom.org
Tue Mar 23 14:58:23 UTC 2021


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/23472 )


Change subject: pysim-shell: select MF on startup to make commands accessible
......................................................................

pysim-shell: select MF on startup to make commands accessible

On the cration of the PysimApp object only the basic commands in
pySim-shell.py are registered, since the MF is only created but not
selected, the file specific commands of the MF are not available. To
make them available, select the MF once on startup before entering the
cmdloop.

Change-Id: Ib63191f44e7c8ae07b0128a9affba40b44957adc
Related: OS#4963
---
M pySim-shell.py
1 file changed, 1 insertion(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/72/23472/1

diff --git a/pySim-shell.py b/pySim-shell.py
index 481bfc8..946b3e5 100755
--- a/pySim-shell.py
+++ b/pySim-shell.py
@@ -263,4 +263,5 @@
 	rs.mf.add_application(ADF_ISIM())
 
 	app = PysimApp(card, rs)
+	rs.select('MF', app)
 	app.cmdloop()

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/23472
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ib63191f44e7c8ae07b0128a9affba40b44957adc
Gerrit-Change-Number: 23472
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210323/eb20d100/attachment.htm>


More information about the gerrit-log mailing list