aboutsummaryrefslogtreecommitdiffstats
path: root/pySim
diff options
context:
space:
mode:
authorSupreeth Herle <herlesupreeth@gmail.com>2020-01-21 12:47:32 +0100
committerVadim Yanitskiy <axilirator@gmail.com>2020-02-15 03:26:49 +0700
commitf442fb4d6985000c08cf3d55243609163919a388 (patch)
treec842da52fe999475f451726cde413ed45e98d040 /pySim
parentc8796a318446eea561ca8830dc54ae5caaccee52 (diff)
cards/sysmoUSIM-SJS1: support programming of EF.HPLMNwAcT
Diffstat (limited to 'pySim')
-rw-r--r--pySim/cards.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/pySim/cards.py b/pySim/cards.py
index bc1ebf7..802ad69 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -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'])