cards/sysmoUSIM-SJS1: support programming of ACC bits

Change-Id: Id0ed9e5654dc0a70a4732bbe5787f1900789d580
This commit is contained in:
Supreeth Herle
2019-12-23 12:23:42 +01:00
committed by Vadim Yanitskiy
parent 2d7859759e
commit c8796a3184

View File

@@ -617,6 +617,9 @@ class SysmoUSIMSJS1(Card):
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']))