diff options
-rw-r--r-- | pySim/cards.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pySim/cards.py b/pySim/cards.py index d912a7a..a341b71 100644 --- a/pySim/cards.py +++ b/pySim/cards.py @@ -896,6 +896,12 @@ class WavemobileSim(Card): if sw != '9000': print("Programming OPLMNwAcT failed with code %s"%sw) + # EF.AD + if p.get('mcc') and p.get('mnc'): + sw = self.update_ad(p['mnc']) + if sw != '9000': + print("Programming AD failed with code %s"%sw) + return None def erase(self): |