mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
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))
|
||||
|
||||
# EF.AD
|
||||
(res, sw) = scc.read_binary(['3f00', '7f20', '6fad'])
|
||||
(res, sw) = card.read_binary('AD')
|
||||
if sw == '9000':
|
||||
print("AD: %s" % (res,))
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user