mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-24 14:28:32 +03:00
Use reference array for reading ICCID
Change-Id: Iad0a328c6f0c9a4ab678efe068801849be48d8fc
This commit is contained in:
@@ -95,7 +95,7 @@ if __name__ == '__main__':
|
|||||||
print("Reading ...")
|
print("Reading ...")
|
||||||
|
|
||||||
# EF.ICCID
|
# EF.ICCID
|
||||||
(res, sw) = scc.read_binary(['3f00', '2fe2'])
|
(res, sw) = scc.read_binary(EF['ICCID'])
|
||||||
if sw == '9000':
|
if sw == '9000':
|
||||||
print("ICCID: %s" % (dec_iccid(res),))
|
print("ICCID: %s" % (dec_iccid(res),))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user