mirror of https://gerrit.osmocom.org/pysim
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
This commit is contained in:
parent
78e32f2b36
commit
9c1a4ece3d
|
@ -263,4 +263,5 @@ if __name__ == '__main__':
|
|||
rs.mf.add_application(ADF_ISIM())
|
||||
|
||||
app = PysimApp(card, rs)
|
||||
rs.select('MF', app)
|
||||
app.cmdloop()
|
||||
|
|
Loading…
Reference in New Issue