|
1 # |
|
2 # Testing the Wap Datagram |
|
3 # |
|
4 |
|
5 [SendReceiveWapSms] |
|
6 |
|
7 Port= 226 |
|
8 DCS= 8 |
|
9 File= c:\sms\vcard3.vcf |
|
10 |
|
11 Port= 226 |
|
12 DCS= 7 |
|
13 File= c:\sms\vcard3.vcf |
|
14 |
|
15 Port= 226 |
|
16 DCS= 8 |
|
17 File= c:\sms\vcard2.vcf |
|
18 |
|
19 Port= 226 |
|
20 DCS= 7 |
|
21 File= c:\sms\vcard2.vcf |
|
22 |
|
23 Port= 5505 |
|
24 DCS= 8 |
|
25 File= c:\sms\tone3.rtp |
|
26 |
|
27 Port= 5505 |
|
28 DCS= 8 |
|
29 File= c:\sms\tone2.rtp |
|
30 |
|
31 Port= 5505 |
|
32 DCS= 8 |
|
33 File= c:\sms\tone1.rtp |
|
34 |
|
35 Port= 226 |
|
36 DCS= 8 |
|
37 File= c:\sms\vcard1.vcf |
|
38 |
|
39 Port= 226 |
|
40 DCS= 7 |
|
41 File= c:\sms\vcard1.vcf |
|
42 |
|
43 |
|
44 [ParsingWapHeader] |
|
45 |
|
46 |
|
47 // no //SCK header |
|
48 WapHeader= This is just a data, 0 |
|
49 |
|
50 # //SC header |
|
51 WapHeader= //SCThis is just a data, 0 |
|
52 WapHeader= Kurz, 0 |
|
53 WapHeader= , 0 |
|
54 |
|
55 # //SCKxx header with destination port |
|
56 WapHeader= //SCK12 , 1 |
|
57 |
|
58 # //SCKxxyy header with destination & source port |
|
59 WapHeader= //SCK1240 , 1 |
|
60 |
|
61 # //SCKxxyyrrttss header with destination & source port, reference, total segments, segment number |
|
62 WapHeader= //SCK1122334455 , 1 |
|
63 |
|
64 # //SCKxxyyrrttss//aaa header with destination & source port, refernce, total segments, segment number and other header |
|
65 WapHeader= //SCK1122334455//funny , 1 |
|
66 |
|
67 # //SCKxxyyrrttss//aaa header with destination & source port, refernce, total segments, |
|
68 # segment number, other header & data |
|
69 WapHeader= //SCK1122334455//funny very much data follows, 1 |
|
70 |
|
71 # //SCKxxyyrrttss header with destination & source port, refernce, total segments, segment number & data |
|
72 WapHeader= //SCK1122334455 very much data follows, 1 |
|
73 |
|
74 # //SCKxx//aaa header with destination port & other header |
|
75 WapHeader= //SCK11//funny , 1 |
|
76 |
|
77 # //SCKxx//aaa header with destination port, other header & data |
|
78 WapHeader= //SCK11//funny very much data follows, 1 |
|
79 |
|
80 # //SCKxx header with destination port & data |
|
81 WapHeader= //SCK11 very much data follows, 1 |
|
82 |
|
83 # //SCKxxyy header with destination & source ports |
|
84 WapHeader= //SCK1122 , 1 |
|
85 |
|
86 # //SCKxxyy header with destination & source ports & data |
|
87 WapHeader= //SCK1122 very much data follows, 1 |
|
88 |
|
89 # //SCKLxx header with destination port |
|
90 WapHeader= //SCKL0002 , 1 |
|
91 |
|
92 # //SCKxxyy header with destination & source port |
|
93 WapHeader= //SCKL10002200 , 1 |
|
94 |
|
95 # //SCKxxyyrrttss header with destination & source port, refernce, total segments, segment number |
|
96 WapHeader= //SCKL11112222FFAABB , 1 |
|
97 |
|
98 # //SCKxxyyrrttss//aaa header with destination & source port, refernce, total segments, segment number and other header |
|
99 WapHeader= //SCKL00010002000201//funny , 1 |
|
100 |
|
101 # //SCKxxyyrrttss//aaa header with destination & source port, refernce, total segments, |
|
102 # segment number, other header & data |
|
103 WapHeader= //SCKL11112222304050//funny very much data follows, 1 |
|
104 |
|
105 # //SCKxxyyrrttss header with destination & source port, refernce, total segments, segment number & data |
|
106 WapHeader= //SCKL11112222334455 very much data follows, 1 |
|
107 |
|
108 # //SCKxx//aaa header with destination port & other header |
|
109 WapHeader= //SCKL1100//funny , 1 |
|
110 |
|
111 # //SCKxx//aaa header with destination port, other header & data |
|
112 WapHeader= //SCKL1000//funny very much data follows, 1 |
|
113 |
|
114 # //SCKxx header with destination port & data |
|
115 WapHeader= //SCKL1000 very much data follows, 1 |
|
116 |
|
117 # //SCKxxyy header with destination & source ports |
|
118 WapHeader= //SCKL11112000 , 1 |
|
119 |
|
120 # //SCKxxyy header with destination & source ports & data |
|
121 WapHeader= //SCKL11112222 very much data follows, 1 |
|
122 |
|
123 |
|
124 // |
|
125 // Testing the Wap Header |
|
126 // |
|
127 |
|
128 |
|
129 [EncodingWapHeader] |
|
130 |
|
131 |
|
132 # //SCKxx header with destination port |
|
133 |
|
134 Result= //SCK12 |
|
135 Port= 18 |
|
136 Data= |
|
137 Other= |
|
138 RefNum= |
|
139 |
|
140 |
|
141 # //SCKxxxx header with explicit long destination port |
|
142 |
|
143 Result= //SCKL0000 |
|
144 Port= 0, 1 |
|
145 Data= |
|
146 Other= |
|
147 RefNum= |
|
148 |
|
149 # //SCKLxxxx header with implicit long destination port |
|
150 |
|
151 Result= //SCKL1200 |
|
152 Port= 1800, 1 |
|
153 Data= |
|
154 Other= |
|
155 RefNum= |
|
156 |
|
157 # //SCKxx header, destination port & short data |
|
158 |
|
159 Result= //SCK12 A123456789 |
|
160 Port= 18 |
|
161 Data= A123456789 |
|
162 Other= |
|
163 RefNum= |
|
164 |
|
165 // 8 10 20 30 40 50 60 70 80 90 100 110 120 130 ->138 |
|
166 # //SCKxx header, destination port & maximum data for one segment |
|
167 |
|
168 Result= //SCK12 A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789P1 |
|
169 Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789P1 |
|
170 DestPort= 18 |
|
171 |
|
172 # //SCKxx header, destination port, other header & short data |
|
173 |
|
174 Result= //SCK12//other header A123456789 |
|
175 Port= 18 |
|
176 Data= A123456789 |
|
177 Other= //other header |
|
178 RefNum= |
|
179 |
|
180 # //SCKxx header, destination port,other header & maximum data for one segment |
|
181 |
|
182 Result= //SCK12//other header A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N1234567 |
|
183 Port= 18 |
|
184 Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N1234567 |
|
185 Other= //other header |
|
186 RefNum= |
|
187 |
|
188 # //SCKxxxx header, destination port & short data |
|
189 |
|
190 Result= //SCKL1212 A123456789 |
|
191 Port= 1812 |
|
192 Data= A123456789 |
|
193 Other= |
|
194 RefNum= |
|
195 |
|
196 # //SCKxxyy header with destination & source port |
|
197 |
|
198 Result= //SCK12FF |
|
199 Port= 18, 0, 255, 0 |
|
200 Data= |
|
201 Other= |
|
202 RefNum= |
|
203 |
|
204 # //SCKLxxxxyyyy header with explicit destination & source port |
|
205 |
|
206 Result= //SCKL001200FF |
|
207 Port= 18, 1, 255, 0 |
|
208 Data= |
|
209 Other= |
|
210 RefNum= |
|
211 |
|
212 # //SCKLxxxxyyyy header with implicit destination & source port (implicit long header) |
|
213 |
|
214 Result= //SCKL1001FFFF |
|
215 Port= 4097, 0, 65535, 0 |
|
216 Data= |
|
217 Other= |
|
218 RefNum= |
|
219 |
|
220 # //SCKxxyy header, destination port & short data |
|
221 |
|
222 Result= //SCK1200 A123456789 |
|
223 Port= 18, 0, 0, 0 |
|
224 Data= A123456789 |
|
225 Other= |
|
226 RefNum= |
|
227 |
|
228 # //SCKxxyy header, destination port & maximum data for one segment |
|
229 |
|
230 Result= //SCK1200 A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789 |
|
231 Port= 18, 0, 0, 0 |
|
232 Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789 |
|
233 Other= |
|
234 RefNum= |
|
235 |
|
236 # //SCKxxyy header, destination port, other header & short data |
|
237 |
|
238 Result= //SCK1200//other header A123456789 |
|
239 Port= 18, 0, 0, 0 |
|
240 Data= A123456789 |
|
241 Other= //other header |
|
242 RefNum= |
|
243 |
|
244 # //SCKxxyy header, destination port,other header & maximum data for one segment |
|
245 |
|
246 Result= //SCK1200//other header A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345 |
|
247 Port= 18, 0, 0, 0 |
|
248 Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345 |
|
249 Other= //other header |
|
250 RefNum= |
|
251 |
|
252 # //SCKLxxxxyyyy header, destination port & short data (implicit long header) |
|
253 |
|
254 Result= //SCKLFFFF0000 A123456789 |
|
255 Port= 65535, 0, 0, 0 |
|
256 Data= A123456789 |
|
257 Other= |
|
258 RefNum= |
|
259 |
|
260 # //SCKxxyy header, destination port, SAR, 1 segment + some characters char |
|
261 |
|
262 Result= //SCKAAFF00yyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789P"); |
|
263 Port= 170, 0, 255, 0 |
|
264 Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123456789P |
|
265 Other= |
|
266 RefNum= 0 |
|
267 |
|
268 # //SCKxxyy header, destination port, SAR, 2 segment + 3 chars extra |
|
269 |
|
270 // 16 10 20 30 40 50 60 70 80 90 100 110 120 130 140 147 10 20 30 40 50 60 70 80 90 100 110 120 130 140 |
|
271 Result= //SCKAAFF01yyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123 |
|
272 Port= 170, 0, 255, 0 |
|
273 Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123XYZ |
|
274 Other= |
|
275 RefNum= 1 |
|
276 |
|
277 |
|
278 # //SCKxxyy header, destination port, SAR, 3 segments exactly |
|
279 |
|
280 Result= //SCKAAFF02yyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123 |
|
281 Port= 170, 0, 255, 0 |
|
282 Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N123456789O123 |
|
283 Other= |
|
284 RefNum= 2 |
|
285 |
|
286 |
|
287 # //SCKLxxxxyyyy header, destination port, SAR, 2 segment + some chars extra (explicit long header) |
|
288 |
|
289 Result= //SCKL00AA00FFFFyyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678 |
|
290 Port= 170, 0, 255, 0 |
|
291 Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZ |
|
292 Other= |
|
293 RefNum= |
|
294 |
|
295 |
|
296 # //SCKxxyy header, destination port, SAR, very many segments |
|
297 |
|
298 Result= //SCKL00AA00FFFFyyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678 |
|
299 Port= 170, 0, 255, 0 |
|
300 Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZA123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZ |
|
301 Other= |
|
302 RefNum= 170 |
|
303 |
|
304 |
|
305 |
|
306 # //SCKLxxxxyyyy//other header header, destination port, SAR, 2 segment + some chars extra (explicit long header) |
|
307 |
|
308 Result= //SCKL00AA00FFFFyyzz A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678 |
|
309 Port= 170, 0, 255, 0 |
|
310 Data= A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678A123456789B123456789C123456789D123456789E123456789F123456789G123456789H123456789I123456789J123456789K123456789L123456789M123456789N12345678XYZ |
|
311 Other= //other header |
|
312 RefNum= 255 |
|
313 |