mirror of https://gerrit.osmocom.org/pysim
pySim-fairwaves-prog: Read a selected A3/A8 algorithm.
Change-Id: I757ea725bd5616dbd6ef329ea5981063fd780761
This commit is contained in:
parent
99b5e321e5
commit
5dfda9fdd7
|
@ -104,6 +104,13 @@ def program_sim_card(card, sim_db, opts):
|
|||
else:
|
||||
print("Ki: Can't read, response code = %s" % (sw,))
|
||||
|
||||
# Read EF.A3A8
|
||||
(a3a8, sw) = card.read_a3a8()
|
||||
if sw == '9000':
|
||||
print("A3/A8: %s" % (a3a8,))
|
||||
else:
|
||||
print("A3/A8: Can't read, response code = %s" % (sw,))
|
||||
|
||||
print("Programming...")
|
||||
|
||||
# Update SPN
|
||||
|
|
Loading…
Reference in New Issue