cards/sysmoUSIM-SJS1: support programming of EF.HPLMNwAcT

Change-Id: Ida93f4a00fe3b1d0f05d6eeda0e7873ce16d4c17
This commit is contained in:
Supreeth Herle 2020-01-21 12:47:32 +01:00 committed by Vadim Yanitskiy
parent c8796a3184
commit f442fb4d69
1 changed files with 6 additions and 0 deletions

View File

@ -641,6 +641,12 @@ class SysmoUSIMSJS1(Card):
if sw != '9000':
print("Programming OPLMNwAcT failed with code %s"%sw)
# EF.HPLMNwAcT
if p.get('mcc') and p.get('mnc'):
sw = self.update_hplmn_act(p['mcc'], p['mnc'])
if sw != '9000':
print("Programming HPLMNwAcT failed with code %s"%sw)
# EF.AD
if p.get('mcc') and p.get('mnc'):
sw = self.update_ad(p['mnc'])