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

Harald Welte gerrit-no-reply at lists.osmocom.org
Fri May 10 15:08:20 UTC 2019


Harald Welte has submitted this change and it was merged. ( 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(-)

Approvals:
  Jenkins Builder: Verified
  Harald Welte: Looks good to me, approved



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 @@
 	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: merged
Gerrit-Change-Id: Iad0a328c6f0c9a4ab678efe068801849be48d8fc
Gerrit-Change-Number: 12461
Gerrit-PatchSet: 5
Gerrit-Owner: Max <suraev at alumni.ntnu.no>
Gerrit-Reviewer: Harald Welte <laforge at gnumonks.org>
Gerrit-Reviewer: Jenkins Builder (1000002)
Gerrit-Reviewer: Kévin Redon <kredon at sysmocom.de>
Gerrit-Reviewer: Max <suraev at alumni.ntnu.no>
Gerrit-Reviewer: Vadim Yanitskiy <axilirator at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190510/75220956/attachment.html>


More information about the gerrit-log mailing list