Support writing SMSP for sysmoUSIM-SJS1

Closes: OS#1989
Change-Id: I6cbf69be3d410c18a509b98a63cb69bab74a528a
This commit is contained in:
Daniel Willmann authored and Harald Welte committed 2017-09-01 07:56:13 +00:00
1 parent e960488338
commit 1d087efc97
1 file changed
+3
+3
View File
@@ -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):