Hi Sylvain,
do we need such a hack on top of the 27c3 branch for the upcoming camp? I will
try to create a proper patch before the start of the camp.
holger
diff --git a/pySim/cards.py b/pySim/cards.py
index 55a3247..348950c 100644
--- a/pySim/cards.py
+++ b/pySim/cards.py
@@ -240,7 +240,8 @@ class FakeMagicSim(Card):
self._e_imsi(p['imsi']) + # 9b
IMSI_len + id_type(9) + IMSI
p['ki'] +
# 16b Ki
24*'f' + 'fd' + 24*'f' + # 25b
(unknown ...)
- rpad(p['smsp'], 20) + # 10b
SMSP (padded with ff if needed)
+ rpad('0791947106004034', 20) + # hack
for the SMSC... i have no idea about the format
+ #rpad(p['smsp'], 20) + # 10b
SMSP (padded with ff if needed)
10*'f'
# 5b (unknown ...)
)
self._scc.update_record('000c', 1, entry)