mirror of https://gerrit.osmocom.org/pysim
Use the generic method read_binary of card class to read AD
Change-Id: Ie7f62913caed95f482445962954857bb69b58078
This commit is contained in:
parent
6d66af653f
commit
52ef675c31
|
@ -213,7 +213,7 @@ if __name__ == '__main__':
|
|||
print("MSISDN: Can't read file -- " + str(e))
|
||||
|
||||
# EF.AD
|
||||
(res, sw) = scc.read_binary(['3f00', '7f20', '6fad'])
|
||||
(res, sw) = card.read_binary('AD')
|
||||
if sw == '9000':
|
||||
print("AD: %s" % (res,))
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue