summaryrefslogtreecommitdiffstats
path: root/tests/ussd/ussd_test.ok
blob: aff383eb8cd1a47147119f65ed669c570b026f9e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
Tested if it still works. Text was: **321#
interrogateSS CFU text..'' code 33
Testing parsing a USSD request and truncated versions
Result for len=28 is 1
Result for len=27 is 1
Result for len=26 is 1
Result for len=25 is 1
Result for len=24 is 0
Result for len=23 is 0
Result for len=22 is 0
Result for len=21 is 0
Result for len=20 is 0
Result for len=19 is 0
Result for len=18 is 0
Result for len=17 is 0
Result for len=16 is 0
Result for len=15 is 0
Result for len=14 is 0
Result for len=13 is 0
Result for len=12 is 0
Result for len=11 is 0
Result for len=10 is 0
Result for len=9 is 0
Result for len=8 is 0
Result for len=7 is 0
Result for len=6 is 0
Result for len=5 is 0
Result for len=4 is 0
Result for len=3 is 0
Mangling the container now
Result for len=28 is 0
Result for len=27 is 0
Result for len=26 is 1
Result for len=25 is 1
Result for len=24 is 0
Result for len=23 is 0
Result for len=22 is 0
Result for len=21 is 0
Result for len=20 is 0
Result for len=19 is 0
Result for len=18 is 0
Result for len=17 is 0
Result for len=16 is 0
Result for len=15 is 0
Result for len=14 is 0
Result for len=13 is 0
Result for len=12 is 0
Result for len=11 is 0
Result for len=10 is 0
Result for len=9 is 0
Result for len=8 is 0
Result for len=7 is 0
Result for len=6 is 0
Result for len=5 is 1
<CR> case test for 7 bit encode
original = 30 31 32 33 34 35 36 37 
encoded = b0 98 6c 46 ab d9 6e 
decoded = 30 31 32 33 34 35 36 37 

original = 30 31 32 33 34 35 36 
encoded = b0 98 6c 46 ab d9 1a 
decoded = 30 31 32 33 34 35 36 

original = 30 31 32 33 34 35 36 37 0d 
encoded = b0 98 6c 46 ab d9 6e 0d 
decoded = 30 31 32 33 34 35 36 37 0d 

original = 30 31 32 33 34 35 36 0d 
encoded = b0 98 6c 46 ab d9 1a 0d 
decoded = 30 31 32 33 34 35 36 0d 0d 

original = 30 31 32 33 34 35 0d 
encoded = b0 98 6c 46 ab 35 1a 
decoded = 30 31 32 33 34 35 0d 

Checking GSM 04.80 USSD message generation.
original = 
encoded = 
decoded = 

Created unstructuredSS_Notify (0x00): 30 08 04 01 0f 04 00 04 01 00 
original = 66 6f 72 74 79 2d 74 77 6f 
encoded = e6 b7 9c 9e 6f d1 ef 6f 
decoded = 66 6f 72 74 79 2d 74 77 6f 

Created unstructuredSS_Notify (0x42): 30 10 04 01 0f 04 08 e6 b7 9c 9e 6f d1 ef 6f 04 01 42