pySim-prog, pySim-read, do not echo reader id

pySim-prog and pySim-read currently echo back the pcsc reader id (or
baudrate/socket, depending on the interface used). This makes the output
unecessarly undeterministic, which becomes a problem when verifying the
putput in tests. Lets not echo those variable, user supplied parameters
back. Also lets move the code that does the initalization to utils, so
that it can be used from pySim-prog and from pySim-read (code dup).

Change-Id: I243cc332f075d007b1c111292effcc610e874eb3
Related: OS#4503
This commit is contained in:
Philipp Maier
2020-05-12 17:24:18 +02:00
committed by laforge
parent b689754b49
commit ff84c23839
10 changed files with 32 additions and 47 deletions

View File

@@ -1,4 +1,4 @@
Using PC/SC reader (dev=1) interface
Using PC/SC reader interface
Reading ...
Autodetected card type: sysmoUSIM-SJS1
ICCID: 1122334455667788990