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/.
herlesupreeth gerrit-no-reply at lists.osmocom.orgherlesupreeth has uploaded this change for review. ( https://gerrit.osmocom.org/c/pysim/+/16972 )
Change subject: Added ability to write HPLMN_ACT in sysmoUSIM-SJS1 SIM
......................................................................
Added ability to write HPLMN_ACT in sysmoUSIM-SJS1 SIM
Change-Id: Ida93f4a00fe3b1d0f05d6eeda0e7873ce16d4c17
---
M pySim/cards.py
M pysim-testdata/sysmoUSIM-SJS1.ok
2 files changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/72/16972/1
diff --git a/pySim/cards.py b/pySim/cards.py
index feb1376..67c488f 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -639,6 +639,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'])
diff --git a/pysim-testdata/sysmoUSIM-SJS1.ok b/pysim-testdata/sysmoUSIM-SJS1.ok
index 73125ea..bd6dc6a 100644
--- a/pysim-testdata/sysmoUSIM-SJS1.ok
+++ b/pysim-testdata/sysmoUSIM-SJS1.ok
@@ -43,7 +43,7 @@
ffffff0000 # unused
HPLMNAcT:
- ffffffffff # unused
+ fff11fffff # MCC: 001 MNC: 001 AcT: UTRAN, E-UTRAN, GSM, GSM COMPACT, cdma2000 HRPD, cdma2000 1xRTT
ffffffffff # unused
ffffffffff # unused
ffffffffff # unused
--
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: 1
Gerrit-Owner: herlesupreeth <herlesupreeth at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200121/f67ffee0/attachment.htm>