commit | ebe6dbaef51c1be3683046d4337596e7a958123f | [log] [tgz] |
---|---|---|
author | Supreeth Herle <herlesupreeth@gmail.com> | Thu Mar 19 12:08:20 2020 +0100 |
committer | Supreeth Herle <herlesupreeth@gmail.com> | Wed Apr 01 09:32:49 2020 +0200 |
tree | faf87a85707c55e55273d5a43929d72ae6831d85 | |
parent | e573ccb53cf475518294539ceb114a11a3535bcc [diff] |
Use the generic method read_record of card class to read SMSP Change-Id: I911c5339a739fbdd9d41e61b63f2410c8358815b
diff --git a/pySim-read.py b/pySim-read.py index f167bce..6d7cbbe 100755 --- a/pySim-read.py +++ b/pySim-read.py
@@ -133,7 +133,7 @@ print("GID2: Can't read file -- %s" % (str(e),)) # EF.SMSP - (res, sw) = scc.read_record(['3f00', '7f10', '6f42'], 1) + (res, sw) = card.read_record('SMSP', 1) if sw == '9000': print("SMSP: %s" % (res,)) else: