Max has uploaded this change for review. ( https://gerrit.osmocom.org/12461


Change subject: Use reference array for reading ICCID
......................................................................

Use reference array for reading ICCID

Change-Id: Iad0a328c6f0c9a4ab678efe068801849be48d8fc
---
M pySim-read.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/61/12461/1

diff --git a/pySim-read.py b/pySim-read.py
index 4356453..7e23752 100755
--- a/pySim-read.py
+++ b/pySim-read.py
@@ -95,7 +95,7 @@
        print("Reading ...")

        # EF.ICCID
-       (res, sw) = scc.read_binary(['3f00', '2fe2'])
+        (res, sw) = scc.read_binary(EF['ICCID'])
        if sw == '9000':
                print("ICCID: %s" % (dec_iccid(res),))
        else:

--
To view, visit https://gerrit.osmocom.org/12461
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iad0a328c6f0c9a4ab678efe068801849be48d8fc
Gerrit-Change-Number: 12461
Gerrit-PatchSet: 1
Gerrit-Owner: Max <[email protected]>

Reply via email to