Change in pysim[master]: Read USIM Service table from SIM

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/.

fixeria gerrit-no-reply at lists.osmocom.org
Tue Jan 21 22:00:26 UTC 2020


fixeria has posted comments on this change. ( https://gerrit.osmocom.org/c/pysim/+/16943 )

Change subject: Read USIM Service table from SIM
......................................................................


Patch Set 10:

(1 comment)

https://gerrit.osmocom.org/c/pysim/+/16943/10/pySim-read.py 
File pySim-read.py:

https://gerrit.osmocom.org/c/pysim/+/16943/10/pySim-read.py@123 
PS10, Line 123: byte12 = int(swapped[(12*2) - 2:(12*2)], 16)
It would be cool to have a value-string dictionary for all possible service names, and a function that would give you a list of enabled services. For example:

  # This would give us a list of supported services
  sst = foo.parse_sst(res)

  # Print those we're interested in
  for i in (96, 95, 93, 21, 34, 35):
    print('Service %d - %s: %s' % (i, sst_dict[i], i in sst))



-- 
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: 10
Gerrit-Owner: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-Assignee: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-CC: dexter <pmaier at sysmocom.de>
Gerrit-CC: fixeria <axilirator at gmail.com>
Gerrit-Comment-Date: Tue, 21 Jan 2020 22:00:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200121/09b15935/attachment.htm>


More information about the gerrit-log mailing list