sysmoISIM-SJA2: Enable programming of EF.ACC

Change-Id: If318117a2339399191dfc3fcec856d9247a034fb
This commit is contained in:
Supreeth Herle 2020-03-26 10:03:25 +01:00 committed by herlesupreeth
parent c60192375e
commit a97944b6ca
1 changed files with 6 additions and 0 deletions

View File

@ -1298,6 +1298,12 @@ class SysmoISIMSJA2(UsimCard, IsimCard):
r = self._scc.select_file(['3f00', '7f10'])
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
self.read_aids()