aboutsummaryrefslogtreecommitdiffstats
path: root/pySim-read.py
diff options
context:
space:
mode:
authorMax <msuraev@sysmocom.de>2019-01-03 11:02:08 +0100
committerHarald Welte <laforge@gnumonks.org>2019-05-10 17:03:58 +0200
commit89cfded971a1a6b5aa9ee72fb28f8dce93128cf0 (patch)
treee6e506fbc8f5e43e041f27e437fbd6dbc0107848 /pySim-read.py
parent851e9c0f4c92f2336faa5f5b9b4e3aa7c963608e (diff)
Use reference array for reading ICCID
Diffstat (limited to 'pySim-read.py')
-rwxr-xr-xpySim-read.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim-read.py b/pySim-read.py
index 16607cf..d4a9849 100755
--- a/pySim-read.py
+++ b/pySim-read.py
@@ -95,7 +95,7 @@ if __name__ == '__main__':
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: