Change in pysim[master]: Use the generic method read_binary of card class to read ACC

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

laforge gerrit-no-reply at lists.osmocom.org
Wed Apr 1 09:40:25 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/17664 )

Change subject: Use the generic method read_binary of card class to read ACC
......................................................................

Use the generic method read_binary of card class to read ACC

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

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



diff --git a/pySim-read.py b/pySim-read.py
index f54045b..1e1d39a 100755
--- a/pySim-read.py
+++ b/pySim-read.py
@@ -192,7 +192,7 @@
 		print("HPLMNAcT: Can't read file -- " + str(e))
 
 	# EF.ACC
-	(res, sw) = scc.read_binary(['3f00', '7f20', '6f78'])
+	(res, sw) = card.read_binary('ACC')
 	if sw == '9000':
 		print("ACC: %s" % (res,))
 	else:

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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I92a02c74d64b3120055163548fc128ed6e0650a4
Gerrit-Change-Number: 17664
Gerrit-PatchSet: 2
Gerrit-Owner: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200401/d354c7bc/attachment.htm>


More information about the gerrit-log mailing list