forked from public/pysim
pySim-read: do not select ADF.ISIM again
Before reading EF.IST ADF.ISIM is selected again even though it was selected before. Lets skip this step since it is unnecessary. Change-Id: I75be18e3476cb1d093bc99775eeddd0c08b81d78
This commit is contained in:
@@ -320,10 +320,6 @@ if __name__ == '__main__':
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
print("UICC IARI: Can't read file -- " + str(e))
|
print("UICC IARI: Can't read file -- " + str(e))
|
||||||
|
|
||||||
# Check whether we have th AID of ISIM, if so select it by its AID
|
|
||||||
# EF.IST - File Id in ADF ISIM : 6f07
|
|
||||||
data, sw = card.select_adf_by_aid(adf="isim")
|
|
||||||
if sw == '9000':
|
|
||||||
# EF.IST
|
# EF.IST
|
||||||
(res, sw) = card.read_binary('6f07')
|
(res, sw) = card.read_binary('6f07')
|
||||||
if sw == '9000':
|
if sw == '9000':
|
||||||
|
|||||||
Reference in New Issue
Block a user