mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-25 14:58:33 +03:00
Use the generic method read_binary of card class to read ACC
Change-Id: I92a02c74d64b3120055163548fc128ed6e0650a4
This commit is contained in:
@@ -192,7 +192,7 @@ if __name__ == '__main__':
|
|||||||
print("HPLMNAcT: Can't read file -- " + str(e))
|
print("HPLMNAcT: Can't read file -- " + str(e))
|
||||||
|
|
||||||
# EF.ACC
|
# EF.ACC
|
||||||
(res, sw) = scc.read_binary(['3f00', '7f20', '6f78'])
|
(res, sw) = card.read_binary('ACC')
|
||||||
if sw == '9000':
|
if sw == '9000':
|
||||||
print("ACC: %s" % (res,))
|
print("ACC: %s" % (res,))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user