sysmoISIM-SJA2: Enable programming of EF.ACC

Change-Id: If318117a2339399191dfc3fcec856d9247a034fb
This commit is contained in:
Supreeth Herle authored and herlesupreeth committed 2021-01-05 15:59:38 +01:00
1 parent c60192375e
commit a97944b6ca
1 file changed
+6
+6
View File
@@ -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()