Use the generic method read_binary of card class to read AD
Change-Id: Ie7f62913caed95f482445962954857bb69b58078
This commit is contained in:
@@ -213,7 +213,7 @@ if __name__ == '__main__':
|
|||||||
print("MSISDN: Can't read file -- " + str(e))
|
print("MSISDN: Can't read file -- " + str(e))
|
||||||
|
|
||||||
# EF.AD
|
# EF.AD
|
||||||
(res, sw) = scc.read_binary(['3f00', '7f20', '6fad'])
|
(res, sw) = card.read_binary('AD')
|
||||||
if sw == '9000':
|
if sw == '9000':
|
||||||
print("AD: %s" % (res,))
|
print("AD: %s" % (res,))
|
||||||
else:
|
else:
|
||||||
|
|||||||
Reference in New Issue
Block a user