mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-28 16:28:33 +03:00
sysmoISIM-SJA2: Enable programming of EF.ACC
Change-Id: If318117a2339399191dfc3fcec856d9247a034fb
This commit is contained in:
committed by
herlesupreeth
parent
c60192375e
commit
a97944b6ca
@@ -1298,6 +1298,12 @@ class SysmoISIMSJA2(UsimCard, IsimCard):
|
|||||||
r = self._scc.select_file(['3f00', '7f10'])
|
r = self._scc.select_file(['3f00', '7f10'])
|
||||||
data, sw = self._scc.update_record('6F40', 1, content, force_len=True)
|
data, sw = self._scc.update_record('6F40', 1, content, force_len=True)
|
||||||
|
|
||||||
|
# EF.ACC
|
||||||
|
if p.get('acc'):
|
||||||
|
sw = self.update_acc(p['acc'])
|
||||||
|
if sw != '9000':
|
||||||
|
print("Programming ACC failed with code %s"%sw)
|
||||||
|
|
||||||
# Populate AIDs
|
# Populate AIDs
|
||||||
self.read_aids()
|
self.read_aids()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user