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/+/16941 )
Change subject: Added feature to program SPN into sysmoUSIM-SJS1 SIM cards
......................................................................
Added feature to program SPN into sysmoUSIM-SJS1 SIM cards
Change-Id: Ia0f1a36ecb3898eaa1cf9925864e13369b1f31ce
---
M pySim/cards.py
1 file changed, 3 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/pysim refs/changes/41/16941/1
diff --git a/pySim/cards.py b/pySim/cards.py
index a341b71..5d4d4f3 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -585,6 +585,9 @@
content = "01" + p['opc']
data, sw = self._scc.update_binary('00F7', content)
+ # set Service Provider Name
+ content = enc_spn(p['name'], True, True)
+ data, sw = self._scc.update_binary('6F46', rpad(content, 32))
# write EF.IMSI
data, sw = self._scc.update_binary('6f07', enc_imsi(p['imsi']))
--
To view, visit https://gerrit.osmocom.org/c/pysim/+/16941
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ia0f1a36ecb3898eaa1cf9925864e13369b1f31ce
Gerrit-Change-Number: 16941
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/20200120/6f150630/attachment.htm>