Change in pysim[master]: Use reference array for reading ICCID

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

Max gerrit-no-reply at lists.osmocom.org
Thu Jan 3 10:36:14 UTC 2019


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 <msuraev at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190103/1da15ca7/attachment.htm>


More information about the gerrit-log mailing list