summaryrefslogtreecommitdiffstats
path: root/tests/gsm0408/gsm0408_test.ok
blob: c1d6a7017f0fdbe90a93bc6537ed3807af48c548 (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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
Test `CSD 9600/V.110/transparent' passed
Test `Speech, all codecs' passed
Simple TMSI encoding test....passed
Simple IMSI encoding test....passed: [10] 17 08 99 10 07 00 00 00 64 02 
Constructed RA:
077-121-666-5
MCC+MNC in BCD: 70 17 21 
077-121-666-5 (3-digit MNC)
RA test...passed
Constructed RA:
084-98-11-89
MCC+MNC in BCD: 80 f4 89 
084-98-11-89
RA test...passed
Constructed RA:
000-00-0-0
MCC+MNC in BCD: 00 f0 00 
000-00-0-0
RA test...passed
Constructed RA:
000-000-0-0 (3-digit MNC)
MCC+MNC in BCD: 00 00 00 
000-000-0-0 (3-digit MNC)
RA test...passed
Constructed RA:
999-999-65535-255
MCC+MNC in BCD: 99 99 99 
999-999-65535-255 (3-digit MNC)
RA test...passed
Constructed RA:
001-02-23-42
MCC+MNC in BCD: 00 f1 20 
001-02-23-42
RA test...passed
Constructed RA:
001-002-23-42 (3-digit MNC)
MCC+MNC in BCD: 00 21 00 
001-002-23-42 (3-digit MNC)
RA test...passed
Constructed RA:
012-34-56-78
MCC+MNC in BCD: 10 f2 43 
012-34-56-78
RA test...passed
Constructed RA:
012-034-23-42 (3-digit MNC)
MCC+MNC in BCD: 10 42 30 
012-034-23-42 (3-digit MNC)
RA test...passed
Constructed RA:
123-456-23-42
MCC+MNC in BCD: 21 63 54 
123-456-23-42 (3-digit MNC)
RA test...passed
Constructed RA:
123-456-23-42 (3-digit MNC)
MCC+MNC in BCD: 21 63 54 
123-456-23-42 (3-digit MNC)
RA test...passed
- gsm48_generate_lai() from 077-121-666-0
  Encoded 70 17 21 02 9a 
  gsm48_decode_lai() gives  077-121-666-0
  passed
- gsm48_generate_lai2() from 077-121-666
  Encoded 70 17 21 02 9a 
  gsm48_decode_lai2() gives  077-121-666 (3-digit MNC)
  passed
- gsm48_generate_lai() from 084-98-11-0
  Encoded 80 f4 89 00 0b 
  gsm48_decode_lai() gives  084-98-11-0
  passed
- gsm48_generate_lai2() from 084-98-11
  Encoded 80 f4 89 00 0b 
  gsm48_decode_lai2() gives  084-98-11
  passed
- gsm48_generate_lai() from 000-00-0-0
  Encoded 00 f0 00 00 00 
  gsm48_decode_lai() gives  000-00-0-0
  passed
- gsm48_generate_lai2() from 000-00-0
  Encoded 00 f0 00 00 00 
  gsm48_decode_lai2() gives  000-00-0
  passed
- gsm48_generate_lai() from 000-000-0-0 (3-digit MNC)
  Encoded 00 f0 00 00 00 
  gsm48_decode_lai() gives  000-00-0-0
  passed
- gsm48_generate_lai2() from 000-000-0 (3-digit MNC)
  Encoded 00 00 00 00 00 
  gsm48_decode_lai2() gives  000-000-0 (3-digit MNC)
  passed
- gsm48_generate_lai() from 999-999-65535-0
  Encoded 99 99 99 ff ff 
  gsm48_decode_lai() gives  999-999-65535-0
  passed
- gsm48_generate_lai2() from 999-999-65535
  Encoded 99 99 99 ff ff 
  gsm48_decode_lai2() gives  999-999-65535 (3-digit MNC)
  passed
- gsm48_generate_lai() from 001-02-23-0
  Encoded 00 f1 20 00 17 
  gsm48_decode_lai() gives  001-02-23-0
  passed
- gsm48_generate_lai2() from 001-02-23
  Encoded 00 f1 20 00 17 
  gsm48_decode_lai2() gives  001-02-23
  passed
- gsm48_generate_lai() from 001-002-23-0 (3-digit MNC)
  Encoded 00 f1 20 00 17 
  gsm48_decode_lai() gives  001-02-23-0
  passed
- gsm48_generate_lai2() from 001-002-23 (3-digit MNC)
  Encoded 00 21 00 00 17 
  gsm48_decode_lai2() gives  001-002-23 (3-digit MNC)
  passed
- gsm48_generate_lai() from 012-34-56-0
  Encoded 10 f2 43 00 38 
  gsm48_decode_lai() gives  012-34-56-0
  passed
- gsm48_generate_lai2() from 012-34-56
  Encoded 10 f2 43 00 38 
  gsm48_decode_lai2() gives  012-34-56
  passed
- gsm48_generate_lai() from 012-034-23-0 (3-digit MNC)
  Encoded 10 f2 43 00 17 
  gsm48_decode_lai() gives  012-34-23-0
  passed
- gsm48_generate_lai2() from 012-034-23 (3-digit MNC)
  Encoded 10 42 30 00 17 
  gsm48_decode_lai2() gives  012-034-23 (3-digit MNC)
  passed
- gsm48_generate_lai() from 123-456-23-0
  Encoded 21 63 54 00 17 
  gsm48_decode_lai() gives  123-456-23-0
  passed
- gsm48_generate_lai2() from 123-456-23
  Encoded 21 63 54 00 17 
  gsm48_decode_lai2() gives  123-456-23 (3-digit MNC)
  passed
- gsm48_generate_lai() from 123-456-23-0 (3-digit MNC)
  Encoded 21 63 54 00 17 
  gsm48_decode_lai() gives  123-456-23-0
  passed
- gsm48_generate_lai2() from 123-456-23 (3-digit MNC)
  Encoded 21 63 54 00 17 
  gsm48_decode_lai2() gives  123-456-23 (3-digit MNC)
  passed