diff options
author | Philipp Maier <pmaier@sysmocom.de> | 2021-03-10 12:38:15 +0100 |
---|---|---|
committer | Philipp Maier <pmaier@sysmocom.de> | 2021-03-23 15:45:22 +0100 |
commit | 9c1a4ece3d011e499a8bfa7a18bd04af2799669b (patch) | |
tree | ffb100851bd99f4088dcd14232d0966de5a6e279 | |
parent | 78e32f2b3657fb9c3cb18af35e007820c75f3a9e (diff) |
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
-rwxr-xr-x | pySim-shell.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ if __name__ == '__main__': rs.mf.add_application(ADF_ISIM()) app = PysimApp(card, rs) + rs.select('MF', app) app.cmdloop() |