mirror of https://gerrit.osmocom.org/pysim
cosmetic: fix sourecode formatting
Change-Id: I4836826811ffb0aeb103d32eb874f5fa52af4186
This commit is contained in:
parent
ee908ae195
commit
45daa925bd
|
@ -338,12 +338,12 @@ class FakeMagicSim(Card):
|
||||||
|
|
||||||
# Set first entry
|
# Set first entry
|
||||||
entry = (
|
entry = (
|
||||||
'81' + # 1b Status: Valid & Active
|
'81' + # 1b Status: Valid & Active
|
||||||
rpad(b2h(p['name'][0:14]), 28) + # 14b Entry Name
|
rpad(b2h(p['name'][0:14]), 28) + # 14b Entry Name
|
||||||
enc_iccid(p['iccid']) + # 10b ICCID
|
enc_iccid(p['iccid']) + # 10b ICCID
|
||||||
enc_imsi(p['imsi']) + # 9b IMSI_len + id_type(9) + IMSI
|
enc_imsi(p['imsi']) + # 9b IMSI_len + id_type(9) + IMSI
|
||||||
p['ki'] + # 16b Ki
|
p['ki'] + # 16b Ki
|
||||||
lpad(p['smsp'], 80) # 40b SMSP (padded with ff if needed)
|
lpad(p['smsp'], 80) # 40b SMSP (padded with ff if needed)
|
||||||
)
|
)
|
||||||
self._scc.update_record('000c', 1, entry)
|
self._scc.update_record('000c', 1, entry)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue