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 <[email protected]>
Gerrit-Assignee: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <[email protected]>
Gerrit-CC: dexter <[email protected]>
Gerrit-CC: fixeria <[email protected]>
Gerrit-Comment-Date: Tue, 21 Jan 2020 22:00:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment

Reply via email to