Change in pysim[master]: WIP: fix writing of EF.HPLMNwAcT on sysmoISIM-SJA2

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

laforge gerrit-no-reply at lists.osmocom.org
Tue May 5 15:37:01 UTC 2020


laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/18051 )


Change subject: WIP: fix writing of EF.HPLMNwAcT on sysmoISIM-SJA2
......................................................................

WIP: fix writing of EF.HPLMNwAcT on sysmoISIM-SJA2

Change-Id: I9372a1a1f10fbe916659a8a50fe0e164987b2d5d
Closes: OS#4532
---
M pySim/cards.py
1 file changed, 6 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/51/18051/1

diff --git a/pySim/cards.py b/pySim/cards.py
index d2f1057..8937ee8 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -1107,6 +1107,12 @@
 			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'])

-- 
To view, visit https://gerrit.osmocom.org/c/pysim/+/18051
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: I9372a1a1f10fbe916659a8a50fe0e164987b2d5d
Gerrit-Change-Number: 18051
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge at osmocom.org>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200505/88014e9c/attachment.htm>


More information about the gerrit-log mailing list