aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2011-12-10 09:57:16 +0100
committerSylvain Munaut <tnt@246tNt.com>2011-12-10 09:57:16 +0100
commit9977c86e96fc64f891fc06ade8e8cba3b1472b1b (patch)
tree7ca6bdc7acd849dbdd271e1fd96c126ba16b4cf6
parent607ce2a029793278746f3f4ec54233daa8dc99b1 (diff)
pySim-prog: Fix SMSC 'number type' field to 0x81
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
-rwxr-xr-xpySim-prog.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pySim-prog.py b/pySim-prog.py
index 9f240db..481d070 100755
--- a/pySim-prog.py
+++ b/pySim-prog.py
@@ -285,7 +285,7 @@ def gen_parameters(opts):
else:
smsc = '00%d' % opts.country + '5555' # Hack ...
- smsc = '%02d' % ((len(smsc) + 3)//2,) + "80" + swap_nibbles(rpad(smsc, 20))
+ smsc = '%02d' % ((len(smsc) + 3)//2,) + "81" + swap_nibbles(rpad(smsc, 20))
smsp = (
'e1' + # Parameters indicator