Change in pysim[master]: Added programming of ACC bits for sysmoUSIM-SJS1

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

herlesupreeth gerrit-no-reply at lists.osmocom.org
Mon Jan 20 12:18:01 UTC 2020


herlesupreeth has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/16950 )


Change subject: Added programming of ACC bits for sysmoUSIM-SJS1
......................................................................

Added programming of ACC bits for sysmoUSIM-SJS1

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



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/50/16950/1

diff --git a/pySim/cards.py b/pySim/cards.py
index a7aa72c..16c3e8e 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -592,6 +592,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: 1
Gerrit-Owner: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200120/a862fc86/attachment.htm>


More information about the gerrit-log mailing list