aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilipp Maier <pmaier@sysmocom.de>2021-03-10 12:38:15 +0100
committerPhilipp Maier <pmaier@sysmocom.de>2021-03-23 15:45:22 +0100
commit9c1a4ece3d011e499a8bfa7a18bd04af2799669b (patch)
treeffb100851bd99f4088dcd14232d0966de5a6e279
parent78e32f2b3657fb9c3cb18af35e007820c75f3a9e (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-xpySim-shell.py1
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()