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/.
herlesupreeth gerrit-no-reply at lists.osmocom.orgherlesupreeth has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/20096 ) Change subject: Remove redundant function read_aid() ...................................................................... Remove redundant function read_aid() Change-Id: I46c4ac0b994db7fb5c3113175009175ec5c154e3 --- M pySim/cards.py 1 file changed, 0 insertions(+), 24 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/96/20096/1 diff --git a/pySim/cards.py b/pySim/cards.py index d1b449a..eeeae82 100644 --- a/pySim/cards.py +++ b/pySim/cards.py @@ -204,30 +204,6 @@ else: return (None, sw) - # Read the (full) AID for either ISIM or USIM or ISIM application - def read_aid(self, isim = False): - - # First (known) halves of the AID - aid_usim = "a0000000871002" - aid_isim = "a0000000871004" - - # Select which one to look for - if isim: - aid = aid_isim - else: - aid = aid_usim - - # Find out how many records the EF.DIR has, then go through - # all records and try to find the AID we are looking for - aid_record_count = self._scc.record_count(['2F00']) - for i in range(0, aid_record_count): - record = self._scc.read_record(['2F00'], i + 1) - if aid in record[0]: - aid_len = int(record[0][6:8], 16) - return record[0][8:8 + aid_len * 2] - - return None - # Fetch all the AIDs present on UICC def read_aids(self): try: -- To view, visit https://gerrit.osmocom.org/c/pysim/+/20096 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I46c4ac0b994db7fb5c3113175009175ec5c154e3 Gerrit-Change-Number: 20096 Gerrit-PatchSet: 1 Gerrit-Owner: herlesupreeth <herlesupreeth at gmail.com> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200911/fbc35133/attachment.htm>