summaryrefslogtreecommitdiffstats
path: root/tests/ussd/ussd_test.ok
blob: 69ea53c36242bd6709c400093b576bd00a57ce00 (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 1 is 28
Result for 1 is 27
Result for 1 is 26
Result for 1 is 25
Result for 0 is 24
Result for 0 is 23
Result for 0 is 22
Result for 0 is 21
Result for 0 is 20
Result for 0 is 19
Result for 0 is 18
Result for 0 is 17
Result for 0 is 16
Result for 0 is 15
Result for 0 is 14
Result for 0 is 13
Result for 0 is 12
Result for 0 is 11
Result for 0 is 10
Result for 0 is 9
Result for 0 is 8
Result for 0 is 7
Result for 0 is 6
Result for 0 is 5
Result for 0 is 4
Result for 0 is 3
Mangling the container now
Result for 0 is 28
Result for 0 is 27
Result for 1 is 26
Result for 1 is 25
Result for 0 is 24
Result for 0 is 23
Result for 0 is 22
Result for 0 is 21
Result for 0 is 20
Result for 0 is 19
Result for 0 is 18
Result for 0 is 17
Result for 0 is 16
Result for 0 is 15
Result for 0 is 14
Result for 0 is 13
Result for 0 is 12
Result for 0 is 11
Result for 0 is 10
Result for 0 is 9
Result for 0 is 8
Result for 0 is 7
Result for 0 is 6
Result for 1 is 5
<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