mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
Support writing SMSP for sysmoUSIM-SJS1
Closes: OS#1989 Change-Id: I6cbf69be3d410c18a509b98a63cb69bab74a528a
This commit is contained in:
committed by
Harald Welte
parent
e960488338
commit
1d087efc97
@@ -459,6 +459,9 @@ class SysmoUSIMSJS1(Card):
|
||||
# write EF.IMSI
|
||||
data, sw = self._scc.update_binary('6f07', enc_imsi(p['imsi']))
|
||||
|
||||
# EF.SMSP
|
||||
r = self._scc.select_file(['3f00', '7f10'])
|
||||
data, sw = self._scc.update_record('6f42', 1, lpad(p['smsp'], 104), force_len=True)
|
||||
|
||||
|
||||
def erase(self):
|
||||
|
||||
Reference in New Issue
Block a user