|
1 // Copyright (c) 1997-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // This file has the class definitions and scripts for the "Data Call with diff. |
|
15 // speed" Test in the ETel Regression test harness. |
|
16 // The call scripts are processed and handled by the emulator side of the test via the |
|
17 // scripting engine. Each line in the script represents an action that the emulator must |
|
18 // take, either a receive action (which defines an expected string) or a transmit action with the |
|
19 // ASCII data to be sent. See the description of the scripting language for more information. |
|
20 // |
|
21 // |
|
22 |
|
23 /** |
|
24 @file |
|
25 @internalComponent |
|
26 */ |
|
27 |
|
28 #ifndef __CDATA_CALL_DIFF_PARAM_H__ |
|
29 #define __CDATA_CALL_DIFF_PARAM_H__ |
|
30 |
|
31 #include "Te_LoopbackTestStepBase.h" |
|
32 #include "Te_LoopBackScriptEng.h" |
|
33 |
|
34 //_LIT8(KWriteTestRemoteHangupData,"ABCD\r\n"); |
|
35 //_LIT8(KWriteTestRemoteHangupData2,"EFGH\r\n"); |
|
36 |
|
37 // KCallDiffParamDefVarDelay is the default Variable Delay value when the user did NOT enter a variable |
|
38 // delay value to be used as a timeout by script processing when the iParam value is set -1 in a |
|
39 // TScript script whose iCommand is an EWait. |
|
40 const TInt KCallDiffParamDefVarDelay=15; |
|
41 |
|
42 // KCallDiffParamMinVarDelay is Minimum Variable Delay value that can be input by the user as the timeout |
|
43 // by script processing when iParam value is set -1 in a TScript script whose iCommand is an EWait. |
|
44 const TInt KCallDiffParamMinVarDelay=1; |
|
45 |
|
46 // KCallDiffParamMaxVarDelay is Maximum Variable Delay value that can be input by the user as the timeout |
|
47 // by script processing when iParam value is set -1 in a TScript script whose iCommand is an EWait. |
|
48 const TInt KCallDiffParamMaxVarDelay=45; |
|
49 |
|
50 // KCallDiffParamMaxDigits is Maximum number of digits allowed to be entered by the operator when |
|
51 // Variable Delay value that can be input by the user as the timeout by script |
|
52 // processing when the iParam value is set -1 in a TScript script whose iCommand is an EWait. |
|
53 const TInt KCallDiffParamMaxDigits=3; |
|
54 |
|
55 // |
|
56 // First a Script where everything is in order |
|
57 // |
|
58 const struct TScript KCDataCallDiffParamScript[]= { |
|
59 //************************************************* |
|
60 // DialDiffSpeed(RMobileCall::ESpeedUnspecified) ; |
|
61 //************************************************* |
|
62 { ERxString, (TText8*)"AT\r", 0, ERxEvent }, |
|
63 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
64 |
|
65 { EIfRxStringJmp, (TText8*)"AT\r", 1, 0 }, |
|
66 |
|
67 { ERxString, (TText8*)"AT+FCLASS=?", 0, ERxEvent }, |
|
68 { ETxString, (TText8*)"0,1,2\r", 0, ETxEvent|EFailIfTimeOut }, |
|
69 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
70 |
|
71 // |
|
72 // The initialisation string - we don't care what it is |
|
73 // |
|
74 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
75 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
76 |
|
77 { ERxString, (TText8*)"AT+CNMI=,0", 0, ERxEvent }, |
|
78 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
79 |
|
80 { ERxString, (TText8*)"ATS7?", 0, ERxEvent }, |
|
81 { ETxString, (TText8*)"050\r", 0, ETxEvent|EFailIfTimeOut }, |
|
82 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
83 |
|
84 { ERxString, (TText8*)"ATS0=0", 0, ERxEvent }, |
|
85 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
86 |
|
87 { ERxString, (TText8*)"AT+CGMI", 0, ERxEvent }, |
|
88 { ETxString, (TText8*)"ERICSSON\r", 0, ETxEvent|EFailIfTimeOut }, |
|
89 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
90 |
|
91 { ERxString, (TText8*)"AT+CGMM", 0, ERxEvent }, |
|
92 { ETxString, (TText8*)"1100801\r", 0, ETxEvent|EFailIfTimeOut }, |
|
93 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
94 |
|
95 { ERxString, (TText8*)"AT+CGMR", 0, ERxEvent }, |
|
96 { ETxString, (TText8*)"9808261341\r", 0, ETxEvent|EFailIfTimeOut }, |
|
97 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
98 |
|
99 { ERxString, (TText8*)"AT+CGSN", 0, ERxEvent }, |
|
100 { ETxString, (TText8*)"520002512954000\r", 0, ETxEvent|EFailIfTimeOut }, |
|
101 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
102 |
|
103 { ERxString, (TText8*)"AT+CIMI", 0, ERxEvent }, |
|
104 { ETxString, (TText8*)"ERROR\r", 0, ETxEvent|EFailIfTimeOut }, |
|
105 |
|
106 { ERxString, (TText8*)"AT+CMGF=?", 0, ERxEvent }, |
|
107 { ETxString, (TText8*)"+CMGF: (0)\r", 0, ETxEvent|EFailIfTimeOut }, |
|
108 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
109 |
|
110 { ERxString, (TText8*)"AT+CMGF=0", 0, ERxEvent }, |
|
111 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
112 |
|
113 { ERxString, (TText8*)"AT+CPMS=?", 0, ERxEvent }, |
|
114 { ETxString, (TText8*)"+CPMS: (\"ME\",\"SM\"),(\"ME\",\"SM\")\r", 0, ETxEvent|EFailIfTimeOut }, |
|
115 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
116 |
|
117 { ERxString, (TText8*)"AT+CPMS?", 0, ERxEvent }, |
|
118 { ETxString, (TText8*)"+CPMS: \"SM\",0,15,\"SM\",0,15\r", 0, ETxEvent|EFailIfTimeOut }, |
|
119 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
120 |
|
121 { ERxString, (TText8*)"AT+CPBS=?", 0, ERxEvent }, |
|
122 { ETxString, (TText8*)"+CPBS: (\"ME\",\"SM\")\r", 0, ETxEvent|EFailIfTimeOut }, |
|
123 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
124 |
|
125 { ERxString, (TText8*)"AT+CREG=0", 0, ERxEvent }, |
|
126 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
127 |
|
128 { ERxString, (TText8*)"AT+CREG=2", 0, ERxEvent }, |
|
129 { ETxString, (TText8*)"ERROR\r", 0, ETxEvent|EFailIfTimeOut }, |
|
130 |
|
131 { ERxString, (TText8*)"AT+CREG=1", 0, ERxEvent }, |
|
132 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
133 |
|
134 { ERxString, (TText8*)"AT+CREG?", 0, ERxEvent }, |
|
135 { ETxString, (TText8*)"ERROR\r", 0, ETxEvent|EFailIfTimeOut }, |
|
136 |
|
137 { ERxString, (TText8*)"AT+CRC=1", 0, ERxEvent }, |
|
138 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
139 |
|
140 { ERxString, (TText8*)"AT+COPS?", 0, ERxEvent }, |
|
141 { ETxString, (TText8*)"+COPS: 0,0,\"UK VODAFONE\"\r", 0, ETxEvent|EFailIfTimeOut }, |
|
142 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
143 |
|
144 { ERxString, (TText8*)"AT+CBC", 0, ERxEvent }, |
|
145 { ETxString, (TText8*)"ERROR\r", 0, ETxEvent|EFailIfTimeOut }, |
|
146 |
|
147 { ERxString, (TText8*)"AT+CSQ", 0, ERxEvent }, |
|
148 { ETxString, (TText8*)"+CSQ: 31,99\r", 0, ETxEvent|EFailIfTimeOut }, |
|
149 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
150 |
|
151 { ERxString, (TText8*)"AT+CGCLASS", 0, ERxEvent }, |
|
152 { ETxString, (TText8*)"ERROR\r", 0, ETxEvent|EFailIfTimeOut }, |
|
153 |
|
154 { ERxString, (TText8*)"AT+CGCLASS", 0, ERxEvent }, |
|
155 { ETxString, (TText8*)"ERROR\r", 0, ETxEvent|EFailIfTimeOut }, |
|
156 |
|
157 { ERxString, (TText8*)"AT+CGQREQ", 0, ERxEvent }, |
|
158 { ETxString, (TText8*)"ERROR\r", 0, ETxEvent|EFailIfTimeOut }, |
|
159 |
|
160 { ERxString, (TText8*)"AT+CGATT", 0, ERxEvent }, |
|
161 { ETxString, (TText8*)"ERROR\r", 0, ETxEvent|EFailIfTimeOut }, |
|
162 |
|
163 { ERxString, (TText8*)"AT+CNMI=?", 0, ERxEvent }, |
|
164 { ETxString, (TText8*)"+CNMI: (0-2),(0,1,3),(0),(0),(0,1)\r", 0, ETxEvent|EFailIfTimeOut }, |
|
165 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
166 |
|
167 { ERxString, (TText8*)"AT+CBST=?", 0, ERxEvent }, |
|
168 { ETxString, (TText8*)"+CBST: (0-7,12,14-16,34,36,38,39,43,47-51,65,66,68,70,71,75,79-81),(0,2),(1)\r", 0, ETxEvent|EFailIfTimeOut }, |
|
169 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
170 |
|
171 { ERxString, (TText8*)"AT+CSCA?", 0, ERxEvent }, |
|
172 { ETxString, (TText8*)"+CSCA: \"441632960000\",145", 0, ETxEvent|EFailIfTimeOut }, |
|
173 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
174 |
|
175 { ERxString, (TText8*)"AT+CGREG=1", 0, ERxEvent }, |
|
176 { ETxString, (TText8*)"ERROR\r", 0, ETxEvent|EFailIfTimeOut }, |
|
177 |
|
178 { ERxString, (TText8*)"AT*ECAM=1", 0, ERxEvent }, |
|
179 { ETxString, (TText8*)"ERROR\r", 0, ETxEvent|EFailIfTimeOut }, |
|
180 |
|
181 // |
|
182 // Initialisation complete. |
|
183 //************************************************* |
|
184 // DialDiffDataService(RMobileCall::EServiceUnspecified) ; //44 |
|
185 //************************************************* |
|
186 // Perform the Dial request |
|
187 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
188 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
189 |
|
190 // Note: Run another test where we ERROR this request |
|
191 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
192 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
193 |
|
194 |
|
195 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
196 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
197 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
198 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
199 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
200 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
201 { ERxString, (TText8*)"AT+CBST=7", 0, ERxEvent }, |
|
202 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
203 |
|
204 // Issue the dial command and wait for connection |
|
205 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
206 // Set signal for connection |
|
207 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
208 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
209 |
|
210 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
211 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
212 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
213 //************************************************* |
|
214 // DialDiffDataService(RMobileCall::EServiceDataCircuitAsync) ; //45 |
|
215 //************************************************* |
|
216 // Perform the Dial request |
|
217 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
218 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
219 |
|
220 // Note: Run another test where we ERROR this request |
|
221 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
222 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
223 |
|
224 |
|
225 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
226 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
227 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
228 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
229 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
230 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
231 { ERxString, (TText8*)"AT+CBST=7,0,1", 0, ERxEvent }, |
|
232 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
233 |
|
234 // Issue the dial command and wait for connection |
|
235 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
236 // Set signal for connection |
|
237 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
238 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
239 |
|
240 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
241 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
242 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
243 //************************************************* |
|
244 // DialDiffDataService(RMobileCall::EServiceDataCircuitAsyncRdi) ; //46 |
|
245 //************************************************* |
|
246 // Perform the Dial request |
|
247 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
248 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
249 |
|
250 // Note: Run another test where we ERROR this request |
|
251 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
252 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
253 |
|
254 |
|
255 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
256 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
257 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
258 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
259 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
260 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
261 { ERxString, (TText8*)"AT+CBST=7,4,1", 0, ERxEvent }, |
|
262 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
263 |
|
264 // Issue the dial command and wait for connection |
|
265 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
266 // Set signal for connection |
|
267 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
268 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
269 |
|
270 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
271 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
272 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
273 //************************************************* |
|
274 // DialDiffDataService(RMobileCall::EServicePADAsyncUDI) ; //48 |
|
275 //************************************************* |
|
276 // Perform the Dial request |
|
277 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
278 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
279 |
|
280 // Note: Run another test where we ERROR this request |
|
281 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
282 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
283 |
|
284 |
|
285 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
286 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
287 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
288 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
289 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
290 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
291 { ERxString, (TText8*)"AT+CBST=7,2,1", 0, ERxEvent }, |
|
292 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
293 |
|
294 // Issue the dial command and wait for connection |
|
295 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
296 // Set signal for connection |
|
297 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
298 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
299 |
|
300 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
301 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
302 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
303 //************************************************* |
|
304 // DialDiffDataService(RMobileCall::EServicePADAsyncRDI) ; //49 |
|
305 //************************************************* |
|
306 // Perform the Dial request |
|
307 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
308 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
309 |
|
310 // Note: Run another test where we ERROR this request |
|
311 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
312 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
313 |
|
314 |
|
315 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
316 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
317 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
318 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
319 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
320 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
321 { ERxString, (TText8*)"AT+CBST=7,6,1", 0, ERxEvent }, |
|
322 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
323 |
|
324 // Issue the dial command and wait for connection |
|
325 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
326 // Set signal for connection |
|
327 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
328 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
329 |
|
330 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
331 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
332 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
333 //************************************************* |
|
334 // DialDiffDataService(RMobileCall::EServicePacketAccessSyncUDI) ; //50 |
|
335 //************************************************* |
|
336 // Perform the Dial request |
|
337 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
338 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
339 |
|
340 // Note: Run another test where we ERROR this request |
|
341 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
342 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
343 |
|
344 |
|
345 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
346 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
347 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
348 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
349 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
350 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
351 { ERxString, (TText8*)"AT+CBST=7,3,1", 0, ERxEvent }, |
|
352 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
353 |
|
354 // Issue the dial command and wait for connection |
|
355 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
356 // Set signal for connection |
|
357 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
358 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
359 |
|
360 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
361 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
362 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
363 //************************************************* |
|
364 // DialDiffDataService(RMobileCall::EServicePacketAccessSyncRDI) ; //51 |
|
365 //************************************************* |
|
366 // Perform the Dial request |
|
367 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
368 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
369 |
|
370 // Note: Run another test where we ERROR this request |
|
371 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
372 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
373 |
|
374 |
|
375 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
376 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
377 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
378 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
379 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
380 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
381 { ERxString, (TText8*)"AT+CBST=7,7,1", 0, ERxEvent }, |
|
382 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
383 |
|
384 // Issue the dial command and wait for connection |
|
385 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
386 // Set signal for connection |
|
387 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
388 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
389 |
|
390 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
391 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
392 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
393 |
|
394 //************************************************* |
|
395 // DialDiffDataService(RMobileCall::EServiceDataCircuitSyncRdi) ; //47 |
|
396 //************************************************* |
|
397 // Perform the Dial request |
|
398 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
399 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
400 |
|
401 // Note: Run another test where we ERROR this request |
|
402 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
403 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
404 |
|
405 |
|
406 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
407 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
408 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
409 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
410 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
411 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
412 { ERxString, (TText8*)"AT+CBST=7,5,1", 0, ERxEvent }, |
|
413 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
414 |
|
415 // Issue the dial command and wait for connection |
|
416 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
417 // Set signal for connection |
|
418 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
419 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
420 |
|
421 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
422 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
423 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
424 //************************************************* |
|
425 // DialDiffSpeed(RMobileCall::ESpeedUnspecified) ; |
|
426 //************************************************* |
|
427 // Perform the Dial request |
|
428 // |
|
429 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
430 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
431 |
|
432 // Note: Run another test where we ERROR this request |
|
433 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
434 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
435 |
|
436 // This is the Data Init String |
|
437 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
438 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
439 |
|
440 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
441 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
442 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
443 |
|
444 |
|
445 // Issue the dial command and wait for connection |
|
446 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
447 // Set signal for connection |
|
448 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
449 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
450 |
|
451 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
452 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
453 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
454 |
|
455 //************************************************* |
|
456 // DialDiffSpeed(RMobileCall::ESpeedAutobauding) ; |
|
457 //************************************************* |
|
458 // |
|
459 // Initialisation complete. |
|
460 // Perform the Dial request |
|
461 // |
|
462 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
463 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
464 |
|
465 // Note: Run another test where we ERROR this request |
|
466 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
467 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
468 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
469 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
470 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
471 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
472 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
473 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
474 |
|
475 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
476 { ERxString, (TText8*)"AT+CBST=0,0,1", 0, ERxEvent }, |
|
477 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
478 // Issue the dial command and wait for connection |
|
479 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
480 // Set signal for connection |
|
481 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
482 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
483 |
|
484 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
485 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
486 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
487 |
|
488 //************************************************* |
|
489 // DialDiffSpeed(RMobileCall::ESpeed2400, RMobileCall::EProtocolV22bis) ; //4 |
|
490 //************************************************* |
|
491 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
492 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
493 |
|
494 // Note: Run another test where we ERROR this request |
|
495 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
496 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
497 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
498 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
499 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
500 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
501 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
502 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
503 { ERxString, (TText8*)"AT+CBST=4,0,1", 0, ERxEvent }, |
|
504 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
505 |
|
506 // Issue the dial command and wait for connection |
|
507 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
508 // Set signal for connection |
|
509 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
510 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
511 |
|
512 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
513 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
514 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
515 //************************************************* |
|
516 // DialDiffSpeed(RMobileCall::ESpeed2400, RMobileCall::EProtocolV110) ; //5 |
|
517 //************************************************* |
|
518 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
519 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
520 |
|
521 // Note: Run another test where we ERROR this request |
|
522 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
523 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
524 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
525 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
526 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
527 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
528 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
529 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
530 { ERxString, (TText8*)"AT+CBST=68,0,1", 0, ERxEvent }, |
|
531 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
532 |
|
533 // Issue the dial command and wait for connection |
|
534 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
535 // Set signal for connection |
|
536 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
537 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
538 |
|
539 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
540 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
541 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
542 //************************************************* |
|
543 // DialDiffSpeed(RMobileCall::ESpeed2400, RMobileCall::EProtocolV120) ; //6 |
|
544 //************************************************* |
|
545 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
546 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
547 |
|
548 // Note: Run another test where we ERROR this request |
|
549 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
550 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
551 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
552 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
553 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
554 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
555 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
556 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
557 { ERxString, (TText8*)"AT+CBST=36,0,1", 0, ERxEvent }, |
|
558 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
559 |
|
560 // Issue the dial command and wait for connection |
|
561 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
562 // Set signal for connection |
|
563 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
564 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
565 |
|
566 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
567 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
568 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
569 //************************************************* |
|
570 // DialDiffSpeed(RMobileCall::ESpeed2400, RMobileCall::EProtocolX31FlagStuffing) ; //6 |
|
571 //************************************************* |
|
572 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
573 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
574 |
|
575 // Note: Run another test where we ERROR this request |
|
576 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
577 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
578 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
579 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
580 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
581 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
582 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
583 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
584 { ERxString, (TText8*)"AT+CBST=68,0,1", 0, ERxEvent }, |
|
585 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
586 |
|
587 // Issue the dial command and wait for connection |
|
588 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
589 // Set signal for connection |
|
590 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
591 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
592 |
|
593 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
594 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
595 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
596 //************************************************* |
|
597 // DialDiffSpeed(RMobileCall::ESpeed4800, RMobileCall::EProtocolV32) ; //6 |
|
598 //************************************************* |
|
599 // Perform the Dial request |
|
600 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
601 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
602 |
|
603 // Note: Run another test where we ERROR this request |
|
604 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
605 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
606 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
607 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
608 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
609 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
610 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
611 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
612 { ERxString, (TText8*)"AT+CBST=6,0,1", 0, ERxEvent }, |
|
613 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
614 |
|
615 // Issue the dial command and wait for connection |
|
616 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
617 // Set signal for connection |
|
618 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
619 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
620 |
|
621 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
622 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
623 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
624 //************************************************* |
|
625 // DialDiffSpeed(RMobileCall::ESpeed4800, RMobileCall::EProtocolV110) ;//7 |
|
626 //************************************************* |
|
627 // Perform the Dial request |
|
628 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
629 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
630 |
|
631 // Note: Run another test where we ERROR this request |
|
632 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
633 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
634 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
635 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
636 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
637 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
638 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
639 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
640 { ERxString, (TText8*)"AT+CBST=70,0,1", 0, ERxEvent }, |
|
641 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
642 |
|
643 // Issue the dial command and wait for connection |
|
644 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
645 // Set signal for connection |
|
646 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
647 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
648 |
|
649 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
650 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
651 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
652 //************************************************* |
|
653 // DialDiffSpeed(RMobileCall::ESpeed4800, RMobileCall::EProtocolV120) ;//8 |
|
654 //************************************************* |
|
655 // Perform the Dial request |
|
656 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
657 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
658 |
|
659 // Note: Run another test where we ERROR this request |
|
660 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
661 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
662 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
663 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
664 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
665 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
666 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
667 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
668 { ERxString, (TText8*)"AT+CBST=38,0,1", 0, ERxEvent }, |
|
669 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
670 |
|
671 // Issue the dial command and wait for connection |
|
672 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
673 // Set signal for connection |
|
674 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
675 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
676 |
|
677 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
678 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
679 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
680 //************************************************* |
|
681 // DialDiffSpeed(RMobileCall::ESpeed4800, RMobileCall::EProtocolX31FlagStuffing) ; //6 |
|
682 //************************************************* |
|
683 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
684 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
685 |
|
686 // Note: Run another test where we ERROR this request |
|
687 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
688 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
689 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
690 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
691 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
692 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
693 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
694 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
695 { ERxString, (TText8*)"AT+CBST=70,0,1", 0, ERxEvent }, |
|
696 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
697 |
|
698 // Issue the dial command and wait for connection |
|
699 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
700 // Set signal for connection |
|
701 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
702 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
703 |
|
704 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
705 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
706 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
707 //************************************************* |
|
708 // DialDiffSpeed(RMobileCall::ESpeed9600, RMobileCall::EProtocolV32) ; //9 |
|
709 //************************************************* |
|
710 // Perform the Dial request |
|
711 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
712 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
713 |
|
714 // Note: Run another test where we ERROR this request |
|
715 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
716 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
717 |
|
718 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
719 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
720 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
721 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
722 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
723 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
724 { ERxString, (TText8*)"AT+CBST=7,0,1", 0, ERxEvent }, |
|
725 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
726 |
|
727 // Issue the dial command and wait for connection |
|
728 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
729 // Set signal for connection |
|
730 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
731 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
732 |
|
733 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
734 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
735 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
736 //************************************************* |
|
737 // DialDiffSpeed(RMobileCall::ESpeed9600, RMobileCall::EProtocolV34) ; //10 |
|
738 //************************************************* |
|
739 // Perform the Dial request |
|
740 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
741 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
742 |
|
743 // Note: Run another test where we ERROR this request |
|
744 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
745 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
746 |
|
747 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
748 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
749 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
750 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
751 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
752 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
753 { ERxString, (TText8*)"AT+CBST=12,0,1", 0, ERxEvent }, |
|
754 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
755 |
|
756 // Issue the dial command and wait for connection |
|
757 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
758 // Set signal for connection |
|
759 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
760 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
761 |
|
762 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
763 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
764 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
765 //************************************************* |
|
766 // DialDiffSpeed(RMobileCall::ESpeed9600, RMobileCall::EProtocolV110) ;//11 |
|
767 //************************************************* |
|
768 // Perform the Dial request |
|
769 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
770 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
771 |
|
772 // Note: Run another test where we ERROR this request |
|
773 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
774 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
775 |
|
776 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
777 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
778 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
779 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
780 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
781 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
782 { ERxString, (TText8*)"AT+CBST=71,0,1", 0, ERxEvent }, |
|
783 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
784 |
|
785 // Issue the dial command and wait for connection |
|
786 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
787 // Set signal for connection |
|
788 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
789 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
790 |
|
791 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
792 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
793 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
794 //************************************************* |
|
795 // DialDiffSpeed(RMobileCall::ESpeed9600, RMobileCall::EProtocolV120) ;//12 |
|
796 //************************************************* |
|
797 // Perform the Dial request |
|
798 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
799 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
800 |
|
801 // Note: Run another test where we ERROR this request |
|
802 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
803 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
804 |
|
805 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
806 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
807 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
808 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
809 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
810 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
811 { ERxString, (TText8*)"AT+CBST=39,0,1", 0, ERxEvent }, |
|
812 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
813 |
|
814 // Issue the dial command and wait for connection |
|
815 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
816 // Set signal for connection |
|
817 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
818 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
819 |
|
820 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
821 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
822 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
823 //************************************************* |
|
824 // DialDiffSpeed(RMobileCall::ESpeed9600, RMobileCall::EProtocolX31FlagStuffing) ; //6 |
|
825 //************************************************* |
|
826 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
827 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
828 |
|
829 // Note: Run another test where we ERROR this request |
|
830 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
831 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
832 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
833 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
834 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
835 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
836 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
837 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
838 { ERxString, (TText8*)"AT+CBST=71,0,1", 0, ERxEvent }, |
|
839 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
840 |
|
841 // Issue the dial command and wait for connection |
|
842 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
843 // Set signal for connection |
|
844 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
845 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
846 |
|
847 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
848 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
849 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
850 //************************************************* |
|
851 // DialDiffSpeed(RMobileCall::ESpeed14400, RMobileCall::EProtocolV34) ; //13 |
|
852 //************************************************* |
|
853 // Perform the Dial request |
|
854 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
855 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
856 |
|
857 // Note: Run another test where we ERROR this request |
|
858 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
859 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
860 |
|
861 |
|
862 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
863 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
864 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
865 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
866 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
867 |
|
868 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
869 { ERxString, (TText8*)"AT+CBST=14,0,1", 0, ERxEvent }, |
|
870 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
871 |
|
872 // Issue the dial command and wait for connection |
|
873 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
874 // Set signal for connection |
|
875 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
876 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
877 |
|
878 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
879 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
880 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
881 //************************************************* |
|
882 // DialDiffSpeed(RMobileCall::ESpeed14400, RMobileCall::EProtocolV110) ; //14 |
|
883 //************************************************* |
|
884 // Perform the Dial request |
|
885 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
886 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
887 |
|
888 // Note: Run another test where we ERROR this request |
|
889 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
890 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
891 |
|
892 |
|
893 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
894 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
895 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
896 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
897 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
898 |
|
899 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
900 { ERxString, (TText8*)"AT+CBST=75,0,1", 0, ERxEvent }, |
|
901 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
902 |
|
903 // Issue the dial command and wait for connection |
|
904 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
905 // Set signal for connection |
|
906 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
907 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
908 |
|
909 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
910 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
911 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
912 //************************************************* |
|
913 // DialDiffSpeed(RMobileCall::ESpeed14400, RMobileCall::EProtocolV120) ; //15 |
|
914 //************************************************* |
|
915 // Perform the Dial request |
|
916 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
917 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
918 |
|
919 // Note: Run another test where we ERROR this request |
|
920 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
921 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
922 |
|
923 |
|
924 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
925 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
926 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
927 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
928 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
929 |
|
930 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
931 { ERxString, (TText8*)"AT+CBST=43,0,1", 0, ERxEvent }, |
|
932 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
933 |
|
934 // Issue the dial command and wait for connection |
|
935 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
936 // Set signal for connection |
|
937 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
938 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
939 |
|
940 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
941 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
942 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
943 //************************************************* |
|
944 // DialDiffSpeed(RMobileCall::ESpeed14400, RMobileCall::EProtocolX31FlagStuffing) ; //6 |
|
945 //************************************************* |
|
946 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
947 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
948 |
|
949 // Note: Run another test where we ERROR this request |
|
950 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
951 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
952 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
953 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
954 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
955 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
956 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
957 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
958 { ERxString, (TText8*)"AT+CBST=75,0,1", 0, ERxEvent }, |
|
959 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
960 |
|
961 // Issue the dial command and wait for connection |
|
962 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
963 // Set signal for connection |
|
964 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
965 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
966 |
|
967 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
968 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
969 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
970 //************************************************* |
|
971 // DialDiffSpeed(RMobileCall::ESpeed19200, RMobileCall::EProtocolV34) ; //16 |
|
972 //************************************************* |
|
973 // Perform the Dial request |
|
974 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
975 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
976 |
|
977 // Note: Run another test where we ERROR this request |
|
978 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
979 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
980 |
|
981 |
|
982 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
983 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
984 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
985 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
986 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
987 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
988 { ERxString, (TText8*)"AT+CBST=15,0,1", 0, ERxEvent }, |
|
989 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
990 |
|
991 // Issue the dial command and wait for connection |
|
992 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
993 // Set signal for connection |
|
994 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
995 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
996 |
|
997 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
998 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
999 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1000 //************************************************* |
|
1001 // DialDiffSpeed(RMobileCall::ESpeed19200, RMobileCall::EProtocolV110) ;//17 |
|
1002 //************************************************* |
|
1003 // Perform the Dial request |
|
1004 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1005 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1006 |
|
1007 // Note: Run another test where we ERROR this request |
|
1008 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1009 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1010 |
|
1011 |
|
1012 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1013 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1014 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1015 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1016 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1017 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1018 { ERxString, (TText8*)"AT+CBST=79,0,1", 0, ERxEvent }, |
|
1019 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1020 |
|
1021 // Issue the dial command and wait for connection |
|
1022 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1023 // Set signal for connection |
|
1024 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1025 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1026 |
|
1027 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1028 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1029 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1030 //************************************************* |
|
1031 // DialDiffSpeed(RMobileCall::ESpeed19200, RMobileCall::EProtocolV120) ;//18 |
|
1032 //************************************************* |
|
1033 // Perform the Dial request |
|
1034 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1035 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1036 |
|
1037 // Note: Run another test where we ERROR this request |
|
1038 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1039 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1040 |
|
1041 |
|
1042 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1043 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1044 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1045 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1046 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1047 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1048 { ERxString, (TText8*)"AT+CBST=47,0,1", 0, ERxEvent }, |
|
1049 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1050 |
|
1051 // Issue the dial command and wait for connection |
|
1052 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1053 // Set signal for connection |
|
1054 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1055 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1056 |
|
1057 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1058 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1059 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1060 //************************************************* |
|
1061 // DialDiffSpeed(RMobileCall::ESpeed19200, RMobileCall::EProtocolX31FlagStuffing) ; //6 |
|
1062 //************************************************* |
|
1063 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1064 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1065 |
|
1066 // Note: Run another test where we ERROR this request |
|
1067 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1068 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1069 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1070 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1071 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1072 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1073 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1074 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1075 { ERxString, (TText8*)"AT+CBST=79,0,1", 0, ERxEvent }, |
|
1076 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1077 |
|
1078 // Issue the dial command and wait for connection |
|
1079 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1080 // Set signal for connection |
|
1081 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1082 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1083 |
|
1084 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1085 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1086 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1087 //************************************************* |
|
1088 // DialDiffSpeed(RMobileCall::ESpeed28800, RMobileCall::EProtocolV34) ; //19 |
|
1089 //************************************************* |
|
1090 // Perform the Dial request |
|
1091 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1092 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1093 |
|
1094 // Note: Run another test where we ERROR this request |
|
1095 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1096 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1097 |
|
1098 |
|
1099 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1100 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1101 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1102 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1103 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1104 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1105 { ERxString, (TText8*)"AT+CBST=16,0,1", 0, ERxEvent }, |
|
1106 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1107 |
|
1108 // Issue the dial command and wait for connection |
|
1109 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1110 // Set signal for connection |
|
1111 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1112 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1113 |
|
1114 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1115 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1116 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1117 //************************************************* |
|
1118 // DialDiffSpeed(RMobileCall::ESpeed28800, RMobileCall::EProtocolV110) ; //20 |
|
1119 //************************************************* |
|
1120 // Perform the Dial request |
|
1121 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1122 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1123 |
|
1124 // Note: Run another test where we ERROR this request |
|
1125 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1126 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1127 |
|
1128 |
|
1129 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1130 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1131 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1132 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1133 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1134 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1135 { ERxString, (TText8*)"AT+CBST=80,0,1", 0, ERxEvent }, |
|
1136 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1137 |
|
1138 // Issue the dial command and wait for connection |
|
1139 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1140 // Set signal for connection |
|
1141 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1142 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1143 |
|
1144 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1145 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1146 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1147 //************************************************* |
|
1148 // DialDiffSpeed(RMobileCall::ESpeed28800, RMobileCall::EProtocolV120) ; //21 |
|
1149 //************************************************* |
|
1150 // Perform the Dial request |
|
1151 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1152 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1153 |
|
1154 // Note: Run another test where we ERROR this request |
|
1155 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1156 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1157 |
|
1158 |
|
1159 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1160 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1161 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1162 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1163 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1164 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1165 { ERxString, (TText8*)"AT+CBST=48,0,1", 0, ERxEvent }, |
|
1166 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1167 |
|
1168 // Issue the dial command and wait for connection |
|
1169 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1170 // Set signal for connection |
|
1171 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1172 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1173 |
|
1174 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1175 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1176 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1177 //************************************************* |
|
1178 // DialDiffSpeed(RMobileCall::ESpeed28800, RMobileCall::EProtocolX31FlagStuffing) ; //6 |
|
1179 //************************************************* |
|
1180 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1181 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1182 |
|
1183 // Note: Run another test where we ERROR this request |
|
1184 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1185 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1186 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1187 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1188 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1189 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1190 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1191 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1192 { ERxString, (TText8*)"AT+CBST=80,0,1", 0, ERxEvent }, |
|
1193 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1194 |
|
1195 // Issue the dial command and wait for connection |
|
1196 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1197 // Set signal for connection |
|
1198 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1199 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1200 |
|
1201 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1202 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1203 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1204 //************************************************* |
|
1205 // DialDiffSpeed(RMobileCall::ESpeed38400, RMobileCall::EProtocolV110) ;//22 |
|
1206 //************************************************* |
|
1207 // Perform the Dial request |
|
1208 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1209 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1210 |
|
1211 // Note: Run another test where we ERROR this request |
|
1212 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1213 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1214 |
|
1215 |
|
1216 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1217 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1218 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1219 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1220 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1221 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1222 { ERxString, (TText8*)"AT+CBST=81,0,1", 0, ERxEvent }, |
|
1223 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1224 |
|
1225 // Issue the dial command and wait for connection |
|
1226 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1227 // Set signal for connection |
|
1228 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1229 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1230 |
|
1231 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1232 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1233 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1234 //************************************************* |
|
1235 // DialDiffSpeed(RMobileCall::ESpeed38400, RMobileCall::EProtocolV120) ;//23 |
|
1236 //************************************************* |
|
1237 // Perform the Dial request |
|
1238 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1239 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1240 |
|
1241 // Note: Run another test where we ERROR this request |
|
1242 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1243 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1244 |
|
1245 |
|
1246 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1247 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1248 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1249 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1250 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1251 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1252 { ERxString, (TText8*)"AT+CBST=49,0,1", 0, ERxEvent }, |
|
1253 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1254 |
|
1255 // Issue the dial command and wait for connection |
|
1256 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1257 // Set signal for connection |
|
1258 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1259 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1260 |
|
1261 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1262 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1263 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1264 //************************************************* |
|
1265 // DialDiffSpeed(RMobileCall::ESpeed38400, RMobileCall::EProtocolX31FlagStuffing) ; //6 |
|
1266 //************************************************* |
|
1267 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1268 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1269 |
|
1270 // Note: Run another test where we ERROR this request |
|
1271 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1272 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1273 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1274 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1275 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1276 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1277 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1278 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1279 { ERxString, (TText8*)"AT+CBST=81,0,1", 0, ERxEvent }, |
|
1280 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1281 |
|
1282 // Issue the dial command and wait for connection |
|
1283 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1284 // Set signal for connection |
|
1285 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1286 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1287 |
|
1288 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1289 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1290 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1291 //************************************************* |
|
1292 // DialDiffSpeed(RMobileCall::ESpeed48000, RMobileCall::EProtocolV110) ;//24 |
|
1293 //************************************************* |
|
1294 // Perform the Dial request |
|
1295 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1296 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1297 |
|
1298 // Note: Run another test where we ERROR this request |
|
1299 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1300 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1301 |
|
1302 |
|
1303 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1304 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1305 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1306 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1307 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1308 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1309 { ERxString, (TText8*)"AT+CBST=82,0,1", 0, ERxEvent }, |
|
1310 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1311 |
|
1312 // Issue the dial command and wait for connection |
|
1313 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1314 // Set signal for connection |
|
1315 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1316 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1317 |
|
1318 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1319 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1320 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1321 //************************************************* |
|
1322 // DialDiffSpeed(RMobileCall::ESpeed48000, RMobileCall::EProtocolV120) ;//25 |
|
1323 //************************************************* |
|
1324 // Perform the Dial request |
|
1325 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1326 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1327 |
|
1328 // Note: Run another test where we ERROR this request |
|
1329 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1330 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1331 |
|
1332 |
|
1333 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1334 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1335 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1336 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1337 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1338 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1339 { ERxString, (TText8*)"AT+CBST=50,0,1", 0, ERxEvent }, |
|
1340 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1341 |
|
1342 // Issue the dial command and wait for connection |
|
1343 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1344 // Set signal for connection |
|
1345 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1346 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1347 |
|
1348 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1349 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1350 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1351 //************************************************* |
|
1352 // DialDiffSpeed(RMobileCall::ESpeed48000, RMobileCall::EProtocolX31FlagStuffing) ; //6 |
|
1353 //************************************************* |
|
1354 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1355 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1356 |
|
1357 // Note: Run another test where we ERROR this request |
|
1358 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1359 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1360 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1361 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1362 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1363 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1364 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1365 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1366 { ERxString, (TText8*)"AT+CBST=82,0,1", 0, ERxEvent }, |
|
1367 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1368 |
|
1369 // Issue the dial command and wait for connection |
|
1370 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1371 // Set signal for connection |
|
1372 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1373 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1374 |
|
1375 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1376 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1377 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1378 //************************************************* |
|
1379 // DialDiffSpeed(RMobileCall::ESpeed56000, RMobileCall::EProtocolV110) ;//34 |
|
1380 //************************************************* |
|
1381 // Perform the Dial request |
|
1382 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1383 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1384 |
|
1385 // Note: Run another test where we ERROR this request |
|
1386 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1387 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1388 |
|
1389 |
|
1390 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1391 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1392 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1393 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1394 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1395 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1396 { ERxString, (TText8*)"AT+CBST=83,0,1", 0, ERxEvent }, |
|
1397 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1398 |
|
1399 // Issue the dial command and wait for connection |
|
1400 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1401 // Set signal for connection |
|
1402 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1403 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1404 |
|
1405 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1406 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1407 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1408 //************************************************* |
|
1409 // DialDiffSpeed(RMobileCall::ESpeed56000, RMobileCall::EProtocolV120) ;//35 |
|
1410 //************************************************* |
|
1411 // Perform the Dial request |
|
1412 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1413 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1414 |
|
1415 // Note: Run another test where we ERROR this request |
|
1416 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1417 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1418 |
|
1419 |
|
1420 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1421 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1422 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1423 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1424 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1425 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1426 { ERxString, (TText8*)"AT+CBST=51,0,1", 0, ERxEvent }, |
|
1427 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1428 |
|
1429 // Issue the dial command and wait for connection |
|
1430 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1431 // Set signal for connection |
|
1432 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1433 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1434 |
|
1435 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1436 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1437 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1438 //************************************************* |
|
1439 // DialDiffSpeed(RMobileCall::ESpeed2400, RMobileCall::EProtocolX31FlagStuffing) ; //36 |
|
1440 //************************************************* |
|
1441 // Perform the Dial request |
|
1442 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1443 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1444 |
|
1445 // Note: Run another test where we ERROR this request |
|
1446 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1447 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1448 |
|
1449 |
|
1450 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1451 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1452 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1453 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1454 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1455 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1456 { ERxString, (TText8*)"AT+CBST=83,0,1", 0, ERxEvent }, |
|
1457 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1458 |
|
1459 // Issue the dial command and wait for connection |
|
1460 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1461 // Set signal for connection |
|
1462 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1463 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1464 |
|
1465 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1466 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1467 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1468 //************************************************* |
|
1469 // DialDiffSpeed(RMobileCall::ESpeed56000, RMobileCall::EProtocolBitTransparent) ;//37 |
|
1470 //************************************************* |
|
1471 // Perform the Dial request |
|
1472 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1473 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1474 |
|
1475 // Note: Run another test where we ERROR this request |
|
1476 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1477 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1478 |
|
1479 |
|
1480 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1481 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1482 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1483 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1484 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1485 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1486 { ERxString, (TText8*)"AT+CBST=115,0,1", 0, ERxEvent }, |
|
1487 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1488 |
|
1489 // Issue the dial command and wait for connection |
|
1490 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1491 // Set signal for connection |
|
1492 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1493 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1494 |
|
1495 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1496 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1497 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1498 //************************************************* |
|
1499 // DialDiffSpeed(RMobileCall::ESpeed64000, RMobileCall::EProtocolBitTransparent) ;//39 |
|
1500 //************************************************* |
|
1501 // Perform the Dial request |
|
1502 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1503 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1504 |
|
1505 // Note: Run another test where we ERROR this request |
|
1506 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1507 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1508 |
|
1509 |
|
1510 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1511 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1512 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1513 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1514 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1515 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1516 { ERxString, (TText8*)"AT+CBST=116,0,1", 0, ERxEvent }, |
|
1517 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1518 |
|
1519 // Issue the dial command and wait for connection |
|
1520 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1521 // Set signal for connection |
|
1522 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1523 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1524 |
|
1525 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1526 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1527 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1528 //************************************************* |
|
1529 // DialDiffQoS(RMobileCall::EQoSUnspecified) ; |
|
1530 //************************************************* |
|
1531 // Perform the Dial request |
|
1532 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1533 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1534 |
|
1535 // Note: Run another test where we ERROR this request |
|
1536 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1537 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1538 |
|
1539 |
|
1540 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1541 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1542 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1543 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1544 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1545 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1546 { ERxString, (TText8*)"AT+CBST=7,0", 0, ERxEvent }, |
|
1547 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1548 |
|
1549 // Issue the dial command and wait for connection |
|
1550 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1551 // Set signal for connection |
|
1552 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1553 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1554 |
|
1555 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1556 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1557 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1558 //************************************************* |
|
1559 // DialDiffQoS(RMobileCall::EQoSTransparent) ; |
|
1560 //************************************************* |
|
1561 // Perform the Dial request |
|
1562 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1563 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1564 |
|
1565 // Note: Run another test where we ERROR this request |
|
1566 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1567 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1568 |
|
1569 |
|
1570 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1571 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1572 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1573 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1574 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1575 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1576 { ERxString, (TText8*)"AT+CBST=7,0,0", 0, ERxEvent }, |
|
1577 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1578 |
|
1579 // Issue the dial command and wait for connection |
|
1580 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1581 // Set signal for connection |
|
1582 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1583 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1584 |
|
1585 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1586 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1587 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1588 //************************************************* |
|
1589 // DialDiffQoS(RMobileCall::EQoSNonTransparent) ; |
|
1590 //************************************************* |
|
1591 // Perform the Dial request |
|
1592 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1593 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1594 |
|
1595 // Note: Run another test where we ERROR this request |
|
1596 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1597 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1598 |
|
1599 |
|
1600 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1601 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1602 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1603 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1604 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1605 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1606 { ERxString, (TText8*)"AT+CBST=7,0,1", 0, ERxEvent }, |
|
1607 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1608 |
|
1609 // Issue the dial command and wait for connection |
|
1610 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1611 // Set signal for connection |
|
1612 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1613 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1614 |
|
1615 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1616 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1617 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1618 //************************************************* |
|
1619 // DialDiffQoS(RMobileCall::EQosTransparentPreferred) ; |
|
1620 //************************************************* |
|
1621 // Perform the Dial request |
|
1622 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1623 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1624 |
|
1625 // Note: Run another test where we ERROR this request |
|
1626 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1627 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1628 |
|
1629 |
|
1630 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1631 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1632 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1633 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1634 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1635 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1636 { ERxString, (TText8*)"AT+CBST=7,0,2", 0, ERxEvent }, |
|
1637 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1638 |
|
1639 // Issue the dial command and wait for connection |
|
1640 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1641 // Set signal for connection |
|
1642 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1643 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1644 |
|
1645 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1646 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1647 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1648 //************************************************* |
|
1649 // DialDiffQoS(RMobileCall::EQosNonTransparentPreferred) ; |
|
1650 //************************************************* |
|
1651 // Perform the Dial request |
|
1652 { ERxString, (TText8*)"AT+FCLASS=0", 0, ERxEvent }, |
|
1653 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1654 |
|
1655 // Note: Run another test where we ERROR this request |
|
1656 { ERxString, (TText8*)"ATM1L0X4S8=4", 0, ERxEvent }, |
|
1657 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1658 |
|
1659 |
|
1660 { ERxString, (TText8*)"AT345678901234567890123456789012345678901234567890", 0, ERxEvent }, |
|
1661 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1662 // This is just another quick "AT", "OK" sequence to check we're still alright |
|
1663 { ERxString, (TText8*)"AT", 0, ERxEvent }, |
|
1664 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1665 // This is the data call parameters setup command (new for MMTSY since 13/Sep/01) |
|
1666 { ERxString, (TText8*)"AT+CBST=7,0,3", 0, ERxEvent }, |
|
1667 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1668 |
|
1669 // Issue the dial command and wait for connection |
|
1670 { ERxString, (TText8*)"ATD+1234", 0, ERxEvent }, |
|
1671 // Set signal for connection |
|
1672 { ESignalMark, NULL, KSignalDCD, 0 }, |
|
1673 { ETxString, (TText8*)"\r\nCONNECT\r\n", 0, ETxEvent|EFailIfTimeOut }, |
|
1674 |
|
1675 { ERxString, (TText8*)"+++", 0, ERxEvent }, |
|
1676 { ERxString, (TText8*)"ATH", 0, ERxEvent }, |
|
1677 { ETxStringOK, NULL, 0, ETxEvent|EFailIfTimeOut }, |
|
1678 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
1679 { EComplete, NULL, 0, 0 }, |
|
1680 }; |
|
1681 |
|
1682 /** |
|
1683 * This class is used by the client side of the test. It contains the method DriveETelApi |
|
1684 * which is the primary client side method. This class inherits from the CTestBase class. |
|
1685 * All client side test classes must contain these entries. |
|
1686 */ |
|
1687 class CTestDriveDataCallDiffParam : public CTestBase |
|
1688 { |
|
1689 public: |
|
1690 static CTestDriveDataCallDiffParam* NewL(const TScriptList aScriptListEntry, |
|
1691 TInt aVarDelay=0); |
|
1692 |
|
1693 // Called by the user interface from the C function PerformTestL. |
|
1694 virtual TInt RunTestL(); |
|
1695 |
|
1696 protected: |
|
1697 // Called by the CTestBase::StartEmulator method to drive the ETel API. |
|
1698 virtual TInt DriveETelApiL(); |
|
1699 |
|
1700 private: |
|
1701 CTestDriveDataCallDiffParam(const TScriptList aScriptListEntry, TInt aVarDelay); |
|
1702 void DialDiffSpeedL(RMobileCall::TMobileCallDataSpeed aSpeed, |
|
1703 RMobileCall::TMobileCallDataProtocol aArg=RMobileCall::EProtocolV32) ; |
|
1704 void DialDiffQoSL(RMobileCall::TMobileCallDataQoS aQoS) ; |
|
1705 void DialDiffProtocolL(RMobileCall::TMobileCallDataProtocol aArg); |
|
1706 void DialDiffDataServiceL(RMobileCall::TMobileCallDataService aArg) ; |
|
1707 |
|
1708 void Print_RMobileCall_TMobileCallDataSpeed(RMobileCall::TMobileCallDataSpeed& aArg); |
|
1709 void Print_RMobileCall_TMobileCallDataProtocol(RMobileCall::TMobileCallDataProtocol& aArg); |
|
1710 void Print_RMobileCall_TMobileCallDataQoS(RMobileCall::TMobileCallDataQoS& aArg); |
|
1711 void Print_RMobileCall_TMobileCallDataService(RMobileCall::TMobileCallDataService aArg); |
|
1712 TScriptList iScriptListEntry; //< Initialized by the constructor, it records the enumerated |
|
1713 //< script entry number. |
|
1714 TInt iVarDelay; //< Variable delay value to be used as the timeout by the |
|
1715 //< ...script processing when the iParam value is set -1 in |
|
1716 //< ...a TScript script whose iCommand is an EWait. |
|
1717 RMobilePhone iPhone3; |
|
1718 |
|
1719 }; |
|
1720 |
|
1721 /** |
|
1722 * This class is used by the emulator side of the test. It implements several virtual functions |
|
1723 * which are test specific and referenced by other classes. This class inherits from the |
|
1724 * CATScriptEng class. All Emulator side test classes should have this structure. |
|
1725 */ |
|
1726 class CTestDataCallDiffParam : public CATScriptEng |
|
1727 { |
|
1728 public: |
|
1729 static CTestDataCallDiffParam* NewL(const TScript* aScript); |
|
1730 static CTestDataCallDiffParam* NewL(const TScript* aScript, const TInt aVarDelay); |
|
1731 |
|
1732 // Called by the scripting engine to implement the EExecuteSpecial Command. |
|
1733 virtual void SpecificAlgorithmL(TInt aParam); |
|
1734 |
|
1735 // Called by the scripting engine to end the execution of the script. |
|
1736 virtual void Complete(TInt aError); |
|
1737 |
|
1738 // Called by the scripting engine to start the execution of the script. |
|
1739 virtual TInt Start(); |
|
1740 |
|
1741 private: |
|
1742 CTestDataCallDiffParam(const TScript* aScript); |
|
1743 CTestDataCallDiffParam(const TScript* aScript, const TInt aVarDelay); |
|
1744 void ConstructL(); |
|
1745 |
|
1746 const TScript* iScript; //< Pointer to the first line in the associated script. |
|
1747 }; |
|
1748 |
|
1749 #endif |
|
1750 |