Change in pysim[master]: pySim-read: do not select ADF.ISIM again

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

dexter gerrit-no-reply at lists.osmocom.org
Thu Nov 18 09:39:54 UTC 2021


dexter has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/26317 )


Change subject: pySim-read: do not select ADF.ISIM again
......................................................................

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
---
M pySim-read.py
1 file changed, 0 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/17/26317/1

diff --git a/pySim-read.py b/pySim-read.py
index 00194b4..959a7c5 100755
--- a/pySim-read.py
+++ b/pySim-read.py
@@ -320,10 +320,6 @@
 		except Exception as 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
 		(res, sw) = card.read_binary('6f07')
 		if sw == '9000':

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/26317
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I75be18e3476cb1d093bc99775eeddd0c08b81d78
Gerrit-Change-Number: 26317
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20211118/615d89bf/attachment.htm>


More information about the gerrit-log mailing list