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/+/16943 ) Change subject: Read USIM Service table from SIM ...................................................................... Read USIM Service table from SIM Change-Id: I9586f156dd43d724a73e989b4bac157d8eb8bc5d --- M pySim-read.py M pySim/ts_51_011.py 2 files changed, 14 insertions(+), 0 deletions(-) git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/43/16943/1 diff --git a/pySim-read.py b/pySim-read.py index 2838973..fa6ccd6 100755 --- a/pySim-read.py +++ b/pySim-read.py @@ -114,6 +114,18 @@ else: print("IMSI: Can't read, response code = %s" % (sw,)) + # EF.SST + (res, sw) = scc.read_binary(EF['SST']) + if sw == '9000': + # print("USIM Service Table: %s" % res) + if len(res) >= 23: + swapped = swap_nibbles(res) + byte12 = int(swapped[22:24], 16) + service95_support = (byte12&0x40 == 0x40) + print("Service n95 - Support of UICC access to IMS: %s" % service95_support) + else: + print("USIM Service Table: Can't read, response code = %s" % (sw,)) + # EF.SMSP (res, sw) = scc.read_record(['3f00', '7f10', '6f42'], 1) if sw == '9000': diff --git a/pySim/ts_51_011.py b/pySim/ts_51_011.py index 754d57f..4e61dca 100644 --- a/pySim/ts_51_011.py +++ b/pySim/ts_51_011.py @@ -67,6 +67,8 @@ 'EXT4': '6F4E', 'CMI': '6F58', 'ECCP': '6F4F', +# IMS related parameters +'EFUICCIARI': '6FE7', # DF_GRAPHICS 'IMG': '4F20', -- To view, visit https://gerrit.osmocom.org/c/pysim/+/16943 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: pysim Gerrit-Branch: master Gerrit-Change-Id: I9586f156dd43d724a73e989b4bac157d8eb8bc5d Gerrit-Change-Number: 16943 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/20200120/062c1c98/attachment.htm>