mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-28 08:18:36 +03:00
Use the generic method read_record of card class to read SMSP
Change-Id: I911c5339a739fbdd9d41e61b63f2410c8358815b
This commit is contained in:
@@ -133,7 +133,7 @@ if __name__ == '__main__':
|
|||||||
print("GID2: Can't read file -- %s" % (str(e),))
|
print("GID2: Can't read file -- %s" % (str(e),))
|
||||||
|
|
||||||
# EF.SMSP
|
# EF.SMSP
|
||||||
(res, sw) = scc.read_record(['3f00', '7f10', '6f42'], 1)
|
(res, sw) = card.read_record('SMSP', 1)
|
||||||
if sw == '9000':
|
if sw == '9000':
|
||||||
print("SMSP: %s" % (res,))
|
print("SMSP: %s" % (res,))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user