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/+/17882 ) Change subject: Enable parsing of ISIM Service table (IST) ...................................................................... Enable parsing of ISIM Service table (IST) As per TS 31.103, This EF indicates which ISIM services are available. If a service is not indicated as available in the ISIM, the ME shall not select this service. Parsing of IST is achieved by first selecting the ISIM application using its AID. This is followed by selecting EF.IST with File ID - 6f07 in ADF.ISIM Change-Id: I3f0a7227360b72a707dc1bcc4cc9c8a4ec7ad2b2 --- M pySim-read.py 1 file changed, 16 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/82/17882/1 diff --git a/pySim-read.py b/pySim-read.py index 8f2b675..fdfc1dc 100755 --- a/pySim-read.py +++ b/pySim-read.py @@ -30,6 +30,7 @@ import sys from pySim.ts_51_011 import EF, DF, EF_SST_map from pySim.ts_31_102 import EF_UST_map +from pySim.ts_31_103 import EF_IST_map from pySim.commands import SimCardCommands from pySim.cards import card_detect, Card @@ -266,5 +267,20 @@ else: print("USIM Service Table: Can't read, response code = %s" % (sw,)) + # Check whether we have th AID of ISIM, if so select it by its AID + # EF.IST - File Id in ADF ISIM : 6f07 + if '9000' == card.select_adf_by_aid(adf="isim"): + # EF.IST + (res, sw) = card.read_binary('6f07') + if sw == '9000': + avail_srvs = parse_st(res) + print("ISIM Service Table: %s" % res) + # Print those which are available + for s in avail_srvs: + if s in EF_IST_map: + print('\tService %d - %s: %s' % (s, EF_IST_map[s], s in avail_srvs)) + else: + print("ISIM Service Table: Can't read, response code = %s" % (sw,)) + # Done for this card and maybe for everything ? print("Done !\n") -- To view, visit https://gerrit.osmocom.org/c/pysim/+/17882 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I3f0a7227360b72a707dc1bcc4cc9c8a4ec7ad2b2 Gerrit-Change-Number: 17882 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/20200420/afbd4b9f/attachment.htm>