Change in pysim[master]: cards/sysmoUSIM-SJS1: support programming of EF.HPLMNwAcT

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
Sat Feb 15 19:11:38 UTC 2020


laforge has submitted this change. ( https://gerrit.osmocom.org/c/pysim/+/16972 )

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

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

Change-Id: Ida93f4a00fe3b1d0f05d6eeda0e7873ce16d4c17
---
M pySim/cards.py
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Jenkins Builder: Verified
  laforge: Looks good to me, approved



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 @@
 			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/+/16972
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ida93f4a00fe3b1d0f05d6eeda0e7873ce16d4c17
Gerrit-Change-Number: 16972
Gerrit-PatchSet: 8
Gerrit-Owner: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <axilirator at gmail.com>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200215/41f783d8/attachment.htm>


More information about the gerrit-log mailing list