mirror of
https://gitea.osmocom.org/sim-card/pysim.git
synced 2026-03-16 18:38:32 +03:00
pySim-prog: Fix SMSC 'number type' field to 0x81
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
This commit is contained in:
@@ -285,7 +285,7 @@ def gen_parameters(opts):
|
|||||||
else:
|
else:
|
||||||
smsc = '00%d' % opts.country + '5555' # Hack ...
|
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 = (
|
smsp = (
|
||||||
'e1' + # Parameters indicator
|
'e1' + # Parameters indicator
|
||||||
|
|||||||
Reference in New Issue
Block a user