Support writing SMSP for sysmoUSIM-SJS1

Closes: OS#1989
Change-Id: I6cbf69be3d410c18a509b98a63cb69bab74a528a
This commit is contained in:
Daniel Willmann 2017-08-31 10:08:45 +02:00 committed by Harald Welte
parent e960488338
commit 1d087efc97
1 changed files with 3 additions and 0 deletions

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):