commit | c8796a318446eea561ca8830dc54ae5caaccee52 | [log] [tgz] |
---|---|---|
author | Supreeth Herle <herlesupreeth@gmail.com> | Mon Dec 23 12:23:42 2019 +0100 |
committer | Vadim Yanitskiy <axilirator@gmail.com> | Sat Feb 15 03:26:49 2020 +0700 |
tree | c5c862e20289cd90159c573d3a61153709d0ce77 | |
parent | 2d7859759e66710cfacf3eb446b359788558b0fe [diff] |
cards/sysmoUSIM-SJS1: support programming of ACC bits Change-Id: Id0ed9e5654dc0a70a4732bbe5787f1900789d580
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']))