Change in pysim[master]: cards/sysmoUSIM-SJS1: support programming of ACC bits

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
Sat Feb 15 19:11:38 UTC 2020


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

Change subject: cards/sysmoUSIM-SJS1: support programming of ACC bits
......................................................................

cards/sysmoUSIM-SJS1: support programming of ACC bits

Change-Id: Id0ed9e5654dc0a70a4732bbe5787f1900789d580
---
M pySim/cards.py
1 file changed, 3 insertions(+), 0 deletions(-)

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



diff --git a/pySim/cards.py b/pySim/cards.py
index 1552ff1..bc1ebf7 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -617,6 +617,9 @@
 			content = enc_spn(p['name'], True, True)
 			data, sw = self._scc.update_binary('6F46', rpad(content, 32))
 
+		if p.get('acc') is not None:
+			self.update_acc(p['acc'])
+
 		# write EF.IMSI
 		data, sw = self._scc.update_binary('6f07', enc_imsi(p['imsi']))
 

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

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Id0ed9e5654dc0a70a4732bbe5787f1900789d580
Gerrit-Change-Number: 16950
Gerrit-PatchSet: 8
Gerrit-Owner: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-Assignee: dexter <pmaier at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-CC: dexter <pmaier at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200215/ca45f654/attachment.htm>


More information about the gerrit-log mailing list