|
1 /* |
|
2 * Copyright (c) 2002-2008 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Wrapper for usat api. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #include <satcs.h> |
|
20 #include "TUSatAPI.h" |
|
21 #include "SatLog.h" |
|
22 #include "msatmultimodeapi.h" |
|
23 #include "csatsactivewrapper.h" |
|
24 |
|
25 const TInt KSatSLoopTimeout = 3000000; |
|
26 const TInt KLoopMaxTryouts = 5; // Max tryouts for loops |
|
27 |
|
28 // ============================ MEMBER FUNCTIONS =============================== |
|
29 |
|
30 // ----------------------------------------------------------------------------- |
|
31 // TUSatAPI::TUSatAPI |
|
32 // C++ default constructor can NOT contain any code, that |
|
33 // might leave. |
|
34 // ----------------------------------------------------------------------------- |
|
35 // |
|
36 TUSatAPI::TUSatAPI() : |
|
37 iSat(), |
|
38 iRSatConnected( EFalse ), |
|
39 iWrapper( NULL ) |
|
40 { |
|
41 LOG( SIMPLE, "SATENGINE: TUSatAPI::TUSatAPI calling - exiting" ) |
|
42 } |
|
43 |
|
44 // ----------------------------------------------------------------------------- |
|
45 // TUSatAPI::Connect |
|
46 // Connects to USAT API. |
|
47 // (other items were commented in a header). |
|
48 // ----------------------------------------------------------------------------- |
|
49 // |
|
50 TInt TUSatAPI::Connect( MSatMultiModeApi& aPhone ) |
|
51 { |
|
52 LOG( SIMPLE, "SATENGINE: TUSatAPI::Connect calling" ) |
|
53 |
|
54 TInt numberOfTries( 1 ); // Indicates loop tryouts |
|
55 TBool loopSuccess( EFalse ); // Loop stopper, if this is ETrue |
|
56 TInt error( KErrNotSupported ); // Error code from iSat.Open() |
|
57 iRSatConnected = EFalse; |
|
58 |
|
59 // Create active wrapper |
|
60 iWrapper = new CSatSActiveWrapper(); |
|
61 |
|
62 if ( iWrapper ) |
|
63 { |
|
64 while ( !loopSuccess && numberOfTries <= KLoopMaxTryouts ) |
|
65 { |
|
66 #ifndef SAT_USE_DUMMY_TSY |
|
67 LOG( NORMAL, "SATENGINE: TUSatAPI::Connect connect Phone" ) |
|
68 error = iSat.Open( *( aPhone.Phone() ) ); |
|
69 #else |
|
70 LOG( NORMAL, "SATENGINE: TUSatAPI::Connect connect DummyPhone" ) |
|
71 error = iSat.Open( *( aPhone.DummyPhone() ) ); |
|
72 #endif |
|
73 if ( KErrNone == error ) |
|
74 { |
|
75 LOG( SIMPLE, "SATENGINE: TUSatAPI::Connect KErrNone == error" ) |
|
76 loopSuccess = ETrue; |
|
77 iRSatConnected = ETrue; |
|
78 } |
|
79 else |
|
80 { |
|
81 numberOfTries++; |
|
82 iWrapper->After( KSatSLoopTimeout ); |
|
83 } |
|
84 } |
|
85 LOG2( SIMPLE, "SATENGINE: TUSatAPI::Connect numberOfTries: %d", |
|
86 numberOfTries ) |
|
87 } |
|
88 |
|
89 LOG2( SIMPLE, "SATENGINE: TUSatAPI::Connect exiting with code: %i", error ) |
|
90 return error; |
|
91 } |
|
92 |
|
93 // ----------------------------------------------------------------------------- |
|
94 // TUSatAPI::Close |
|
95 // Closes the connection. |
|
96 // (other items were commented in a header). |
|
97 // ----------------------------------------------------------------------------- |
|
98 // |
|
99 void TUSatAPI::Close() |
|
100 { |
|
101 LOG( SIMPLE, "SATENGINE: TUSatAPI::Close calling" ) |
|
102 |
|
103 iSat.Close(); |
|
104 iRSatConnected = EFalse; |
|
105 |
|
106 if ( iWrapper ) |
|
107 { |
|
108 LOG( SIMPLE, "SATENGINE: TUSatAPI::Close iWrapper true" ) |
|
109 iWrapper->CancelWrapper(); |
|
110 delete iWrapper; |
|
111 iWrapper = NULL; |
|
112 } |
|
113 |
|
114 LOG( SIMPLE, "SATENGINE: TUSatAPI::Close exiting" ) |
|
115 } |
|
116 |
|
117 // ----------------------------------------------------------------------------- |
|
118 // TUSatAPI::NotifySetUpMenu |
|
119 // (other items were commented in a header). |
|
120 // ----------------------------------------------------------------------------- |
|
121 // |
|
122 void TUSatAPI::NotifySetUpMenu( |
|
123 TRequestStatus& aStatus, |
|
124 TDes8& aPCmd ) |
|
125 { |
|
126 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpMenu calling" ) |
|
127 |
|
128 iSat.NotifySetUpMenuPCmd( aStatus, aPCmd ); |
|
129 |
|
130 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpMenu exiting" ) |
|
131 } |
|
132 |
|
133 // ----------------------------------------------------------------------------- |
|
134 // TUSatAPI::NotifySetUpMenuCancel |
|
135 // (other items were commented in a header). |
|
136 // ----------------------------------------------------------------------------- |
|
137 // |
|
138 void TUSatAPI::NotifySetUpMenuCancel() |
|
139 { |
|
140 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpMenuCancel calling" ) |
|
141 |
|
142 iSat.CancelAsyncRequest( ESatNotifySetUpMenuPCmd ); |
|
143 |
|
144 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpMenuCancel exiting" ) |
|
145 } |
|
146 |
|
147 // ----------------------------------------------------------------------------- |
|
148 // TUSatAPI::NotifyLanguageNotification |
|
149 // (other items were commented in a header). |
|
150 // ----------------------------------------------------------------------------- |
|
151 // |
|
152 void TUSatAPI::NotifyLanguageNotification( |
|
153 TRequestStatus& aStatus, |
|
154 TDes8& aPCmd ) |
|
155 { |
|
156 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyLanguageNotification calling" ) |
|
157 |
|
158 iSat.NotifyLanguageNotificationPCmd( aStatus, aPCmd ); |
|
159 |
|
160 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyLanguageNotification exiting" ) |
|
161 } |
|
162 |
|
163 // ----------------------------------------------------------------------------- |
|
164 // TUSatAPI::NotifyLanguageNotification |
|
165 // (other items were commented in a header). |
|
166 // ----------------------------------------------------------------------------- |
|
167 // |
|
168 void TUSatAPI::NotifyLanguageNotificationCancel() |
|
169 { |
|
170 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpMenuCancel calling" ) |
|
171 |
|
172 iSat.CancelAsyncRequest( ESatNotifyLanguageNotificationPCmd ); |
|
173 |
|
174 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpMenuCancel exiting" ) |
|
175 } |
|
176 |
|
177 // ----------------------------------------------------------------------------- |
|
178 // TUSatAPI::NotifySetUpCall |
|
179 // (other items were commented in a header). |
|
180 // ----------------------------------------------------------------------------- |
|
181 // |
|
182 void TUSatAPI::NotifySetUpCall( |
|
183 TRequestStatus& aStatus, |
|
184 TDes8& aPCmd ) |
|
185 { |
|
186 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpCall calling" ) |
|
187 |
|
188 iSat.NotifySetUpCallPCmd( aStatus, aPCmd ); |
|
189 |
|
190 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpCall exiting" ) |
|
191 } |
|
192 |
|
193 // ----------------------------------------------------------------------------- |
|
194 // TUSatAPI::NotifySetUpCallCancel |
|
195 // (other items were commented in a header). |
|
196 // ----------------------------------------------------------------------------- |
|
197 // |
|
198 void TUSatAPI::NotifySetUpCallCancel() |
|
199 { |
|
200 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpCallCancel calling" ) |
|
201 |
|
202 iSat.CancelAsyncRequest( ESatNotifySetUpCallPCmd ); |
|
203 |
|
204 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpCallCancel exiting" ) |
|
205 } |
|
206 |
|
207 // ----------------------------------------------------------------------------- |
|
208 // TUSatAPI::NotifySelectItem |
|
209 // (other items were commented in a header). |
|
210 // ----------------------------------------------------------------------------- |
|
211 // |
|
212 void TUSatAPI::NotifySelectItem( |
|
213 TRequestStatus& aStatus, |
|
214 TDes8& aPCmd ) |
|
215 { |
|
216 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySelectItem calling" ) |
|
217 |
|
218 iSat.NotifySelectItemPCmd( aStatus, aPCmd ); |
|
219 |
|
220 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySelectItem exiting" ) |
|
221 } |
|
222 |
|
223 // ----------------------------------------------------------------------------- |
|
224 // TUSatAPI::NotifySelectItemCancel |
|
225 // (other items were commented in a header). |
|
226 // ----------------------------------------------------------------------------- |
|
227 // |
|
228 void TUSatAPI::NotifySelectItemCancel() |
|
229 { |
|
230 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySelectItemCancel calling" ) |
|
231 |
|
232 iSat.CancelAsyncRequest( ESatNotifySelectItemPCmd ); |
|
233 |
|
234 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySelectItemCancel exiting" ) |
|
235 } |
|
236 |
|
237 // ----------------------------------------------------------------------------- |
|
238 // TUSatAPI::NotifySendSm |
|
239 // (other items were commented in a header). |
|
240 // ----------------------------------------------------------------------------- |
|
241 // |
|
242 void TUSatAPI::NotifySendSm( |
|
243 TRequestStatus& aStatus, |
|
244 TDes8& aPCmd ) |
|
245 { |
|
246 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendSm calling" ) |
|
247 |
|
248 iSat.NotifySendSmPCmd( aStatus, aPCmd ); |
|
249 |
|
250 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendSm exiting" ) |
|
251 } |
|
252 |
|
253 // ----------------------------------------------------------------------------- |
|
254 // TUSatAPI::NotifySendSmCancel |
|
255 // (other items were commented in a header). |
|
256 // ----------------------------------------------------------------------------- |
|
257 // |
|
258 void TUSatAPI::NotifySendSmCancel() |
|
259 { |
|
260 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendSmCancel calling" ) |
|
261 |
|
262 iSat.CancelAsyncRequest( ESatNotifySendSmPCmd ); |
|
263 |
|
264 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendSmCancel exiting" ) |
|
265 } |
|
266 |
|
267 // ----------------------------------------------------------------------------- |
|
268 // TUSatAPI::SendMessageNoLogging |
|
269 // (other items were commented in a header). |
|
270 // ----------------------------------------------------------------------------- |
|
271 // |
|
272 void TUSatAPI::SendMessageNoLogging( |
|
273 TRequestStatus& aStatus, |
|
274 TDes8& aData, |
|
275 TUint16& aRefMsg ) |
|
276 { |
|
277 LOG( SIMPLE, "SATENGINE: TUSatAPI::SendMessageNoLogging calling" ) |
|
278 |
|
279 iSat.SendMessageNoLogging( aStatus, aData, aRefMsg ); |
|
280 |
|
281 LOG( SIMPLE, "SATENGINE: TUSatAPI::SendMessageNoLogging exiting" ) |
|
282 } |
|
283 |
|
284 // ----------------------------------------------------------------------------- |
|
285 // TUSatAPI::SendMessageNoLoggingCancel |
|
286 // (other items were commented in a header). |
|
287 // ----------------------------------------------------------------------------- |
|
288 // |
|
289 void TUSatAPI::SendMessageNoLoggingCancel() |
|
290 { |
|
291 LOG( SIMPLE, "SATENGINE: TUSatAPI::SendMessageNoLoggingCancel calling" ) |
|
292 |
|
293 iSat.CancelAsyncRequest( ESatSendMessageNoLogging ); |
|
294 |
|
295 LOG( SIMPLE, "SATENGINE: TUSatAPI::SendMessageNoLoggingCancel exiting" ) |
|
296 } |
|
297 |
|
298 // ----------------------------------------------------------------------------- |
|
299 // TUSatAPI::NotifyLaunchBrowser |
|
300 // (other items were commented in a header). |
|
301 // ----------------------------------------------------------------------------- |
|
302 // |
|
303 void TUSatAPI::NotifyLaunchBrowser( |
|
304 TRequestStatus& aStatus, |
|
305 TDes8& aData ) |
|
306 { |
|
307 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyLaunchBrowser calling" ) |
|
308 |
|
309 iSat.NotifyLaunchBrowserPCmd( aStatus, aData ); |
|
310 |
|
311 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyLaunchBrowser exiting" ) |
|
312 } |
|
313 |
|
314 // ----------------------------------------------------------------------------- |
|
315 // TUSatAPI::NotifyLaunchBrowserCancel |
|
316 // (other items were commented in a header). |
|
317 // ----------------------------------------------------------------------------- |
|
318 // |
|
319 void TUSatAPI::NotifyLaunchBrowserCancel() |
|
320 { |
|
321 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyLaunchBrowserCancel calling" ) |
|
322 |
|
323 iSat.CancelAsyncRequest( ESatNotifyLaunchBrowserPCmd ); |
|
324 |
|
325 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyLaunchBrowserCancel exiting" ) |
|
326 } |
|
327 |
|
328 // ----------------------------------------------------------------------------- |
|
329 // TUSatAPI::NotifyDisplayText |
|
330 // (other items were commented in a header). |
|
331 // ----------------------------------------------------------------------------- |
|
332 // |
|
333 void TUSatAPI::NotifyDisplayText( |
|
334 TRequestStatus& aStatus, |
|
335 TDes8& aData ) |
|
336 { |
|
337 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyDisplayText calling" ) |
|
338 |
|
339 iSat.NotifyDisplayTextPCmd( aStatus, aData ); |
|
340 |
|
341 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyDisplayText exiting" ) |
|
342 } |
|
343 |
|
344 // ----------------------------------------------------------------------------- |
|
345 // TUSatAPI::NotifyDisplayTextCancel |
|
346 // (other items were commented in a header). |
|
347 // ----------------------------------------------------------------------------- |
|
348 // |
|
349 void TUSatAPI::NotifyDisplayTextCancel() |
|
350 { |
|
351 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyDisplayTextCancel calling" ) |
|
352 |
|
353 iSat.CancelAsyncRequest( ESatNotifyDisplayTextPCmd ); |
|
354 |
|
355 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyDisplayTextCancel exiting" ) |
|
356 } |
|
357 |
|
358 // ----------------------------------------------------------------------------- |
|
359 // TUSatAPI::NotifyGetInput |
|
360 // (other items were commented in a header). |
|
361 // ----------------------------------------------------------------------------- |
|
362 // |
|
363 void TUSatAPI::NotifyGetInput( |
|
364 TRequestStatus& aStatus, |
|
365 TDes8& aData ) |
|
366 { |
|
367 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetInput calling" ) |
|
368 |
|
369 iSat.NotifyGetInputPCmd( aStatus, aData ); |
|
370 |
|
371 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetInput exiting" ) |
|
372 } |
|
373 |
|
374 // ----------------------------------------------------------------------------- |
|
375 // TUSatAPI::NotifyGetInputCancel |
|
376 // (other items were commented in a header). |
|
377 // ----------------------------------------------------------------------------- |
|
378 // |
|
379 void TUSatAPI::NotifyGetInputCancel() |
|
380 { |
|
381 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetInputCancel calling" ) |
|
382 |
|
383 iSat.CancelAsyncRequest( ESatNotifyGetInputPCmd ); |
|
384 |
|
385 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetInputCancel exiting" ) |
|
386 } |
|
387 |
|
388 // ----------------------------------------------------------------------------- |
|
389 // TUSatAPI::NotifyGetInkey |
|
390 // (other items were commented in a header). |
|
391 // ----------------------------------------------------------------------------- |
|
392 // |
|
393 void TUSatAPI::NotifyGetInkey( |
|
394 TRequestStatus& aStatus, |
|
395 TDes8& aData ) |
|
396 { |
|
397 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetInkey calling" ) |
|
398 |
|
399 iSat.NotifyGetInkeyPCmd( aStatus, aData ); |
|
400 |
|
401 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetInkey exiting" ) |
|
402 } |
|
403 |
|
404 // ----------------------------------------------------------------------------- |
|
405 // TUSatAPI::NotifyGetInkeyCancel |
|
406 // (other items were commented in a header). |
|
407 // ----------------------------------------------------------------------------- |
|
408 // |
|
409 void TUSatAPI::NotifyGetInkeyCancel() |
|
410 { |
|
411 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetInkeyCancel calling" ) |
|
412 |
|
413 iSat.CancelAsyncRequest( ESatNotifyGetInkeyPCmd ); |
|
414 |
|
415 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetInkeyCancel exiting" ) |
|
416 } |
|
417 |
|
418 // ----------------------------------------------------------------------------- |
|
419 // TUSatAPI::NotifyCallControl |
|
420 // (other items were commented in a header). |
|
421 // ----------------------------------------------------------------------------- |
|
422 // |
|
423 void TUSatAPI::NotifyCallControl( |
|
424 TRequestStatus& aStatus, |
|
425 TDes8& aData ) |
|
426 { |
|
427 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyCallControl calling" ) |
|
428 |
|
429 iSat.NotifyCallControlRequest( aStatus, aData ); |
|
430 |
|
431 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyCallControl exiting" ) |
|
432 } |
|
433 |
|
434 // ----------------------------------------------------------------------------- |
|
435 // TUSatAPI::NotifyCallControlCancel |
|
436 // (other items were commented in a header). |
|
437 // ----------------------------------------------------------------------------- |
|
438 // |
|
439 void TUSatAPI::NotifyCallControlCancel() |
|
440 { |
|
441 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyCallControlCancel calling" ) |
|
442 |
|
443 iSat.CancelAsyncRequest( ESatNotifyCallControlRequest ); |
|
444 |
|
445 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyCallControlCancel exiting" ) |
|
446 } |
|
447 |
|
448 // ----------------------------------------------------------------------------- |
|
449 // TUSatAPI::NotifyMoSmControl |
|
450 // (other items were commented in a header). |
|
451 // ----------------------------------------------------------------------------- |
|
452 // |
|
453 void TUSatAPI::NotifyMoSmControl( |
|
454 TRequestStatus& aStatus, |
|
455 TDes8& aData ) |
|
456 { |
|
457 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyMoSmControl calling" ) |
|
458 |
|
459 iSat.NotifyMoSmControlRequest( aStatus, aData ); |
|
460 |
|
461 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyMoSmControl exiting" ) |
|
462 } |
|
463 |
|
464 // ----------------------------------------------------------------------------- |
|
465 // TUSatAPI::NotifyMoSmControlCancel |
|
466 // (other items were commented in a header). |
|
467 // ----------------------------------------------------------------------------- |
|
468 // |
|
469 void TUSatAPI::NotifyMoSmControlCancel() |
|
470 { |
|
471 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyMoSmControlCancel calling" ) |
|
472 |
|
473 iSat.CancelAsyncRequest( ESatNotifyMoSmControlRequest ); |
|
474 |
|
475 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyMoSmControlCancel exiting" ) |
|
476 } |
|
477 |
|
478 // ----------------------------------------------------------------------------- |
|
479 // TUSatAPI::NotifySetUpEventList |
|
480 // (other items were commented in a header). |
|
481 // ----------------------------------------------------------------------------- |
|
482 // |
|
483 void TUSatAPI::NotifySetUpEventList( |
|
484 TRequestStatus& aStatus, |
|
485 TDes8& aData ) |
|
486 { |
|
487 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpEventList calling" ) |
|
488 |
|
489 iSat.NotifySetUpEventListPCmd( aStatus, aData ); |
|
490 |
|
491 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpEventList exiting" ) |
|
492 } |
|
493 |
|
494 // ----------------------------------------------------------------------------- |
|
495 // TUSatAPI::NotifySetUpEventListCancel |
|
496 // (other items were commented in a header). |
|
497 // ----------------------------------------------------------------------------- |
|
498 // |
|
499 void TUSatAPI::NotifySetUpEventListCancel() |
|
500 { |
|
501 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpEventListCancel calling" ) |
|
502 |
|
503 iSat.CancelAsyncRequest( ESatNotifySetUpEventListPCmd ); |
|
504 |
|
505 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpEventListCancel exiting" ) |
|
506 } |
|
507 |
|
508 // ----------------------------------------------------------------------------- |
|
509 // TUSatAPI::NotifySetUpIdleModeText |
|
510 // (other items were commented in a header). |
|
511 // ----------------------------------------------------------------------------- |
|
512 // |
|
513 void TUSatAPI::NotifySetUpIdleModeText( |
|
514 TRequestStatus& aStatus, |
|
515 TDes8& aData ) |
|
516 { |
|
517 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpIdleModeText calling" ) |
|
518 |
|
519 iSat.NotifySetUpIdleModeTextPCmd( aStatus, aData ); |
|
520 |
|
521 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpIdleModeText exiting" ) |
|
522 } |
|
523 |
|
524 // ----------------------------------------------------------------------------- |
|
525 // TUSatAPI::NotifySetUpIdleModeTextCancel |
|
526 // (other items were commented in a header). |
|
527 // ----------------------------------------------------------------------------- |
|
528 // |
|
529 void TUSatAPI::NotifySetUpIdleModeTextCancel() |
|
530 { |
|
531 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpIdleModeTextCancel calling" ) |
|
532 |
|
533 iSat.CancelAsyncRequest( ESatNotifySetUpIdleModeTextPCmd ); |
|
534 |
|
535 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySetUpIdleModeTextCancel exiting" ) |
|
536 } |
|
537 |
|
538 // ----------------------------------------------------------------------------- |
|
539 // TUSatAPI::NotifySendDtmf |
|
540 // (other items were commented in a header). |
|
541 // ----------------------------------------------------------------------------- |
|
542 // |
|
543 void TUSatAPI::NotifySendDtmf( |
|
544 TRequestStatus& aStatus, |
|
545 TDes8& aData ) |
|
546 { |
|
547 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendDtmf calling" ) |
|
548 |
|
549 iSat.NotifySendDtmfPCmd( aStatus, aData ); |
|
550 |
|
551 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendDtmf exiting" ) |
|
552 } |
|
553 |
|
554 // ----------------------------------------------------------------------------- |
|
555 // TUSatAPI::NotifySendDtmfCancel |
|
556 // (other items were commented in a header). |
|
557 // ----------------------------------------------------------------------------- |
|
558 // |
|
559 void TUSatAPI::NotifySendDtmfCancel() |
|
560 { |
|
561 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendDtmfCancel calling" ) |
|
562 |
|
563 iSat.CancelAsyncRequest( ESatNotifySendDtmfPCmd ); |
|
564 |
|
565 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendDtmfCancel exiting" ) |
|
566 } |
|
567 |
|
568 // ----------------------------------------------------------------------------- |
|
569 // TUSatAPI::NotifySendSs |
|
570 // (other items were commented in a header). |
|
571 // ----------------------------------------------------------------------------- |
|
572 // |
|
573 void TUSatAPI::NotifySendSs( |
|
574 TRequestStatus& aStatus, |
|
575 TDes8& aData ) |
|
576 { |
|
577 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendSs calling" ) |
|
578 |
|
579 iSat.NotifySendSsPCmd( aStatus, aData ); |
|
580 |
|
581 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendSs exiting" ) |
|
582 } |
|
583 |
|
584 // ----------------------------------------------------------------------------- |
|
585 // TUSatAPI::NotifySendSsCancel |
|
586 // (other items were commented in a header). |
|
587 // ----------------------------------------------------------------------------- |
|
588 // |
|
589 void TUSatAPI::NotifySendSsCancel() |
|
590 { |
|
591 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendSsCancel calling" ) |
|
592 |
|
593 iSat.CancelAsyncRequest( ESatNotifySendSsPCmd ); |
|
594 |
|
595 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendSsCancel exiting" ) |
|
596 } |
|
597 |
|
598 // ----------------------------------------------------------------------------- |
|
599 // TUSatAPI::NotifySendUssd |
|
600 // (other items were commented in a header). |
|
601 // ----------------------------------------------------------------------------- |
|
602 // |
|
603 void TUSatAPI::NotifySendUssd( |
|
604 TRequestStatus& aStatus, |
|
605 TDes8& aData ) |
|
606 { |
|
607 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendUssd calling" ) |
|
608 |
|
609 iSat.NotifySendUssdPCmd( aStatus, aData ); |
|
610 |
|
611 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendUssd exiting" ) |
|
612 } |
|
613 |
|
614 // ----------------------------------------------------------------------------- |
|
615 // TUSatAPI::NotifySendUssdCancel |
|
616 // (other items were commented in a header). |
|
617 // ----------------------------------------------------------------------------- |
|
618 // |
|
619 void TUSatAPI::NotifySendUssdCancel() |
|
620 { |
|
621 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendUssdCancel calling" ) |
|
622 |
|
623 iSat.CancelAsyncRequest( ESatNotifySendUssdPCmd ); |
|
624 |
|
625 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendUssdCancel exiting" ) |
|
626 } |
|
627 |
|
628 // ----------------------------------------------------------------------------- |
|
629 // TUSatAPI::NotifyPlayTone |
|
630 // (other items were commented in a header). |
|
631 // ----------------------------------------------------------------------------- |
|
632 // |
|
633 void TUSatAPI::NotifyPlayTone( |
|
634 TRequestStatus& aStatus, |
|
635 TDes8& aData ) |
|
636 { |
|
637 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyPlayTone calling" ) |
|
638 |
|
639 iSat.NotifyPlayTonePCmd( aStatus, aData ); |
|
640 |
|
641 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyPlayTone exiting" ) |
|
642 } |
|
643 |
|
644 // ----------------------------------------------------------------------------- |
|
645 // TUSatAPI::NotifyPlayToneCancel |
|
646 // (other items were commented in a header). |
|
647 // ----------------------------------------------------------------------------- |
|
648 // |
|
649 void TUSatAPI::NotifyPlayToneCancel() |
|
650 { |
|
651 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyPlayToneCancel calling" ) |
|
652 |
|
653 iSat.CancelAsyncRequest( ESatNotifyPlayTonePCmd ); |
|
654 |
|
655 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyPlayToneCancel exiting" ) |
|
656 } |
|
657 |
|
658 // ----------------------------------------------------------------------------- |
|
659 // TUSatAPI::NotifyRefreshRequired |
|
660 // (other items were commented in a header). |
|
661 // ----------------------------------------------------------------------------- |
|
662 // |
|
663 void TUSatAPI::NotifyRefreshRequired( |
|
664 TRequestStatus& aStatus, |
|
665 TDes8& aData ) |
|
666 { |
|
667 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyRefreshRequired calling" ) |
|
668 |
|
669 iSat.NotifyRefreshRequired( aStatus, aData ); |
|
670 |
|
671 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyRefreshRequired exiting" ) |
|
672 } |
|
673 |
|
674 // ----------------------------------------------------------------------------- |
|
675 // TUSatAPI::NotifyRefreshRequiredCancel |
|
676 // (other items were commented in a header). |
|
677 // ----------------------------------------------------------------------------- |
|
678 // |
|
679 void TUSatAPI::NotifyRefreshRequiredCancel() |
|
680 { |
|
681 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyRefreshRequiredCancel calling" ) |
|
682 |
|
683 iSat.CancelAsyncRequest( ESatNotifyRefreshRequiredParam ); |
|
684 |
|
685 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyRefreshRequiredCancel exiting" ) |
|
686 } |
|
687 |
|
688 // ----------------------------------------------------------------------------- |
|
689 // TUSatAPI::RefreshAllowed |
|
690 // (other items were commented in a header). |
|
691 // ----------------------------------------------------------------------------- |
|
692 // |
|
693 void TUSatAPI::RefreshAllowed( |
|
694 const TDesC8& aPCkg ) |
|
695 { |
|
696 LOG( SIMPLE, "SATENGINE: TUSatAPI::RefreshAllowed calling" ) |
|
697 |
|
698 if ( iWrapper ) |
|
699 { |
|
700 LOG( SIMPLE, "SATENGINE: TUSatAPI::RefreshAllowed iWrapper true" ) |
|
701 iSat.RefreshAllowed( iWrapper->RequestStatus(), aPCkg ); |
|
702 iWrapper->SetActiveAndWait(); |
|
703 } |
|
704 |
|
705 LOG( SIMPLE, "SATENGINE: TUSatAPI::RefreshAllowed exiting" ) |
|
706 } |
|
707 |
|
708 // ----------------------------------------------------------------------------- |
|
709 // TUSatAPI::NotifyRefresh |
|
710 // (other items were commented in a header). |
|
711 // ----------------------------------------------------------------------------- |
|
712 // |
|
713 void TUSatAPI::NotifyRefresh( |
|
714 TRequestStatus& aStatus, |
|
715 TDes8& aData ) |
|
716 { |
|
717 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyRefresh calling" ) |
|
718 |
|
719 iSat.NotifyRefreshPCmd( aStatus, aData ); |
|
720 |
|
721 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyRefresh exiting" ) |
|
722 } |
|
723 |
|
724 // ----------------------------------------------------------------------------- |
|
725 // TUSatAPI::NotifyRefreshCancel |
|
726 // (other items were commented in a header). |
|
727 // ----------------------------------------------------------------------------- |
|
728 // |
|
729 void TUSatAPI::NotifyRefreshCancel() |
|
730 { |
|
731 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyRefreshCancel calling" ) |
|
732 |
|
733 iSat.CancelAsyncRequest( ESatNotifyRefreshPCmd ); |
|
734 |
|
735 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyRefreshCancel exiting" ) |
|
736 } |
|
737 |
|
738 // ----------------------------------------------------------------------------- |
|
739 // TUSatAPI::NotifySimSessionEnd |
|
740 // (other items were commented in a header). |
|
741 // ----------------------------------------------------------------------------- |
|
742 // |
|
743 void TUSatAPI::NotifySimSessionEnd( TRequestStatus& aStatus ) |
|
744 { |
|
745 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySimSessionEnd calling" ) |
|
746 |
|
747 iSat.NotifyProactiveSimSessionEnd( aStatus ); |
|
748 |
|
749 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySimSessionEnd exiting" ) |
|
750 } |
|
751 |
|
752 // ----------------------------------------------------------------------------- |
|
753 // TUSatAPI::NotifySimSessionEndCancel |
|
754 // (other items were commented in a header). |
|
755 // ----------------------------------------------------------------------------- |
|
756 // |
|
757 void TUSatAPI::NotifySimSessionEndCancel() |
|
758 { |
|
759 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySimSessionEndCancel calling" ) |
|
760 |
|
761 iSat.CancelAsyncRequest( ESatNotifyProactiveSimSessionEnd ); |
|
762 |
|
763 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySimSessionEndCancel exiting" ) |
|
764 } |
|
765 |
|
766 // ----------------------------------------------------------------------------- |
|
767 // TUSatAPI::NotifyLocalInfo |
|
768 // (other items were commented in a header). |
|
769 // ----------------------------------------------------------------------------- |
|
770 // |
|
771 void TUSatAPI::NotifyLocalInfo( |
|
772 TRequestStatus& aStatus, |
|
773 TDes8& aData ) |
|
774 { |
|
775 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyLocalInfo calling" ) |
|
776 |
|
777 iSat.NotifyLocalInfoPCmd( aStatus, aData ); |
|
778 |
|
779 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyLocalInfo exiting" ) |
|
780 } |
|
781 |
|
782 // ----------------------------------------------------------------------------- |
|
783 // TUSatAPI::NotifyLocalInfoCancel |
|
784 // (other items were commented in a header). |
|
785 // ----------------------------------------------------------------------------- |
|
786 // |
|
787 void TUSatAPI::NotifyLocalInfoCancel() |
|
788 { |
|
789 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyLocalInfoCancel calling" ) |
|
790 |
|
791 iSat.CancelAsyncRequest( ESatNotifyLocalInfoPCmd ); |
|
792 |
|
793 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyLocalInfoCancel exiting" ) |
|
794 } |
|
795 |
|
796 // ----------------------------------------------------------------------------- |
|
797 // TUSatAPI::NotifyOpenChannel |
|
798 // (other items were commented in a header). |
|
799 // ----------------------------------------------------------------------------- |
|
800 // |
|
801 void TUSatAPI::NotifyOpenChannel( |
|
802 TRequestStatus& aStatus, |
|
803 TDes8& aData ) |
|
804 { |
|
805 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyOpenChannel calling" ) |
|
806 |
|
807 iSat.NotifyOpenChannelPCmd( aStatus, aData ); |
|
808 |
|
809 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyOpenChannel exiting" ) |
|
810 } |
|
811 |
|
812 // ----------------------------------------------------------------------------- |
|
813 // TUSatAPI::NotifyOpenChannelCancel |
|
814 // (other items were commented in a header). |
|
815 // ----------------------------------------------------------------------------- |
|
816 // |
|
817 void TUSatAPI::NotifyOpenChannelCancel() |
|
818 { |
|
819 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyOpenChannelCancel calling" ) |
|
820 |
|
821 iSat.CancelAsyncRequest( ESatNotifyOpenChannelPCmd ); |
|
822 |
|
823 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyOpenChannelCancel exiting" ) |
|
824 } |
|
825 |
|
826 // ----------------------------------------------------------------------------- |
|
827 // TUSatAPI::NotifyCloseChannel |
|
828 // (other items were commented in a header). |
|
829 // ----------------------------------------------------------------------------- |
|
830 // |
|
831 void TUSatAPI::NotifyCloseChannel( |
|
832 TRequestStatus& aStatus, |
|
833 TDes8& aData ) |
|
834 { |
|
835 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyCloseChannel calling" ) |
|
836 |
|
837 iSat.NotifyCloseChannelPCmd( aStatus, aData ); |
|
838 |
|
839 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyCloseChannel exiting" ) |
|
840 } |
|
841 |
|
842 // ----------------------------------------------------------------------------- |
|
843 // TUSatAPI::NotifyCloseChannelCancel |
|
844 // (other items were commented in a header). |
|
845 // ----------------------------------------------------------------------------- |
|
846 // |
|
847 void TUSatAPI::NotifyCloseChannelCancel() |
|
848 { |
|
849 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyCloseChannelCancel calling" ) |
|
850 |
|
851 iSat.CancelAsyncRequest( ESatNotifyCloseChannelPCmd ); |
|
852 |
|
853 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyCloseChannelCancel exiting" ) |
|
854 } |
|
855 |
|
856 // ----------------------------------------------------------------------------- |
|
857 // TUSatAPI::NotifyGetChannelStatus |
|
858 // (other items were commented in a header). |
|
859 // ----------------------------------------------------------------------------- |
|
860 // |
|
861 void TUSatAPI::NotifyGetChannelStatus( |
|
862 TRequestStatus& aStatus, |
|
863 TDes8& aData ) |
|
864 { |
|
865 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetChannelStatus calling" ) |
|
866 |
|
867 iSat.NotifyGetChannelStatusPCmd( aStatus, aData ); |
|
868 |
|
869 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetChannelStatus exiting" ) |
|
870 } |
|
871 |
|
872 // ----------------------------------------------------------------------------- |
|
873 // TUSatAPI::NotifyGetChannelStatusCancel |
|
874 // (other items were commented in a header). |
|
875 // ----------------------------------------------------------------------------- |
|
876 // |
|
877 void TUSatAPI::NotifyGetChannelStatusCancel() |
|
878 { |
|
879 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetChannelStatusCancel calling" ) |
|
880 |
|
881 iSat.CancelAsyncRequest( ESatNotifyGetChannelStatusPCmd ); |
|
882 |
|
883 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyGetChannelStatusCancel exiting" ) |
|
884 } |
|
885 |
|
886 // ----------------------------------------------------------------------------- |
|
887 // TUSatAPI::NotifySendData |
|
888 // (other items were commented in a header). |
|
889 // ----------------------------------------------------------------------------- |
|
890 // |
|
891 void TUSatAPI::NotifySendData( |
|
892 TRequestStatus& aStatus, |
|
893 TDes8& aData ) |
|
894 { |
|
895 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendData calling" ) |
|
896 |
|
897 iSat.NotifySendDataPCmd( aStatus, aData ); |
|
898 |
|
899 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendData exiting" ) |
|
900 } |
|
901 |
|
902 // ----------------------------------------------------------------------------- |
|
903 // TUSatAPI::NotifySendDataCancel |
|
904 // (other items were commented in a header). |
|
905 // ----------------------------------------------------------------------------- |
|
906 // |
|
907 void TUSatAPI::NotifySendDataCancel() |
|
908 { |
|
909 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendDataCancel calling" ) |
|
910 |
|
911 iSat.CancelAsyncRequest( ESatNotifySendDataPCmd ); |
|
912 |
|
913 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifySendDataCancel exiting" ) |
|
914 } |
|
915 |
|
916 // ----------------------------------------------------------------------------- |
|
917 // TUSatAPI::NotifyReceiveData |
|
918 // (other items were commented in a header). |
|
919 // ----------------------------------------------------------------------------- |
|
920 // |
|
921 void TUSatAPI::NotifyReceiveData( |
|
922 TRequestStatus& aStatus, |
|
923 TDes8& aData ) |
|
924 { |
|
925 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyReceiveData calling" ) |
|
926 |
|
927 iSat.NotifyReceiveDataPCmd( aStatus, aData ); |
|
928 |
|
929 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyReceiveData exiting" ) |
|
930 } |
|
931 |
|
932 // ----------------------------------------------------------------------------- |
|
933 // TUSatAPI::NotifyReceiveDataCancel |
|
934 // (other items were commented in a header). |
|
935 // ----------------------------------------------------------------------------- |
|
936 // |
|
937 void TUSatAPI::NotifyReceiveDataCancel() |
|
938 { |
|
939 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyReceiveDataCancel calling" ) |
|
940 |
|
941 iSat.CancelAsyncRequest( ESatNotifyReceiveDataPCmd ); |
|
942 |
|
943 LOG( SIMPLE, "SATENGINE: TUSatAPI::NotifyReceiveDataCancel exiting" ) |
|
944 } |
|
945 |
|
946 // ----------------------------------------------------------------------------- |
|
947 // TUSatAPI::SendMenuSelection |
|
948 // (other items were commented in a header). |
|
949 // ----------------------------------------------------------------------------- |
|
950 // |
|
951 void TUSatAPI::SendMenuSelection( const TDes8& aMenuSelection ) |
|
952 { |
|
953 LOG( SIMPLE, "SATENGINE: TUSatAPI::SendMenuSelection calling" ) |
|
954 |
|
955 if ( iWrapper ) |
|
956 { |
|
957 LOG( SIMPLE, "SATENGINE: TUSatAPI::SendMenuSelection iWrapper true" ) |
|
958 iSat.MenuSelection( iWrapper->RequestStatus(), aMenuSelection ); |
|
959 iWrapper->SetActiveAndWait(); |
|
960 } |
|
961 |
|
962 LOG( SIMPLE, "SATENGINE: TUSatAPI::SendMenuSelection exiting" ) |
|
963 } |
|
964 |
|
965 // ----------------------------------------------------------------------------- |
|
966 // TUSatApi::TerminalRsp |
|
967 // (other items were commented in a header). |
|
968 // ----------------------------------------------------------------------------- |
|
969 // |
|
970 void TUSatAPI::TerminalRsp( |
|
971 RSat::TPCmd aPCmd, // Identifies the command, which is sending the response |
|
972 const TDesC8& aRsp ) // Resposen data package |
|
973 { |
|
974 LOG( SIMPLE, "SATENGINE: TUSatAPI::TerminalRsp calling" ) |
|
975 |
|
976 if ( iWrapper ) |
|
977 { |
|
978 LOG( SIMPLE, "SATENGINE: TUSatAPI::TerminalRsp iWrapper true" ) |
|
979 iSat.TerminalRsp( iWrapper->RequestStatus(), aPCmd, aRsp ); |
|
980 iWrapper->SetActiveAndWait(); |
|
981 } |
|
982 |
|
983 LOG( SIMPLE, "SATENGINE: TUSatAPI::TerminalRsp exiting" ) |
|
984 } |
|
985 |
|
986 // ----------------------------------------------------------------------------- |
|
987 // TUSatAPI::GetIcon |
|
988 // (other items were commented in a header). |
|
989 // ----------------------------------------------------------------------------- |
|
990 // |
|
991 void TUSatAPI::GetIcon( |
|
992 TRequestStatus& aReqStatus, |
|
993 TUint8 aRecordNumber, |
|
994 RSat::TIcon& aIconEf ) |
|
995 { |
|
996 LOG( SIMPLE, "SATENGINE: TUSatAPI::GetIcon calling" ) |
|
997 |
|
998 iSat.GetIcon( aReqStatus, aRecordNumber, aIconEf ); |
|
999 |
|
1000 LOG( SIMPLE, "SATENGINE: TUSatAPI::GetIcon exiting" ) |
|
1001 } |
|
1002 |
|
1003 // ----------------------------------------------------------------------------- |
|
1004 // TUSatAPI::GetImageInstance |
|
1005 // (other items were commented in a header). |
|
1006 // ----------------------------------------------------------------------------- |
|
1007 // |
|
1008 void TUSatAPI::GetImageInstance( |
|
1009 TRequestStatus& aReqStatus, |
|
1010 const TDesC8& aInstanceInfo, |
|
1011 TDes8& aInstance ) |
|
1012 { |
|
1013 LOG( SIMPLE, "SATENGINE: TUSatAPI::GetImageInstance calling" ) |
|
1014 |
|
1015 iSat.GetImageInstance( aReqStatus, aInstanceInfo, aInstance ); |
|
1016 |
|
1017 LOG( SIMPLE, "SATENGINE: TUSatAPI::GetImageInstance exiting" ) |
|
1018 } |
|
1019 |
|
1020 // ----------------------------------------------------------------------------- |
|
1021 // TUSatAPI::GetClut |
|
1022 // (other items were commented in a header). |
|
1023 // ----------------------------------------------------------------------------- |
|
1024 // |
|
1025 void TUSatAPI::GetClut( |
|
1026 TRequestStatus& aReqStatus, |
|
1027 TUint aInstanceNumber, |
|
1028 TUint aOffset, |
|
1029 TDes8& aClut ) |
|
1030 { |
|
1031 LOG( SIMPLE, "SATENGINE: TUSatAPI::GetClut calling" ) |
|
1032 |
|
1033 iSat.GetClut( aReqStatus, aInstanceNumber, aOffset, aClut ); |
|
1034 |
|
1035 LOG( SIMPLE, "SATENGINE: TUSatAPI::GetClut exiting" ) |
|
1036 } |
|
1037 |
|
1038 // ----------------------------------------------------------------------------- |
|
1039 // TUSatAPI::EventDownload |
|
1040 // (other items were commented in a header). |
|
1041 // ----------------------------------------------------------------------------- |
|
1042 // |
|
1043 void TUSatAPI::EventDownload( |
|
1044 TRequestStatus& aReqStatus, |
|
1045 RSat::TEventList aSingleEvent, |
|
1046 const TDesC8& aEventInfo ) |
|
1047 { |
|
1048 LOG( SIMPLE, "SATENGINE: TUSatAPI::EventDownload calling" ) |
|
1049 |
|
1050 iSat.EventDownload( aReqStatus, aSingleEvent, aEventInfo ); |
|
1051 |
|
1052 LOG( SIMPLE, "SATENGINE: TUSatAPI::EventDownload exiting" ) |
|
1053 } |
|
1054 |
|
1055 // ----------------------------------------------------------------------------- |
|
1056 // TUSatAPI::IsRSatConnected |
|
1057 // (other items were commented in a header). |
|
1058 // ----------------------------------------------------------------------------- |
|
1059 // |
|
1060 TBool TUSatAPI::IsRSatConnected() const |
|
1061 { |
|
1062 LOG( SIMPLE, "SATENGINE: TUSatAPI::IsRSatConnected calling-exiting" ) |
|
1063 return iRSatConnected; |
|
1064 } |
|
1065 // ----------------------------------------------------------------------------- |
|
1066 // TUSatAPI::UsatClientReadyIndication |
|
1067 // (other items were commented in a header). |
|
1068 // ----------------------------------------------------------------------------- |
|
1069 // |
|
1070 TInt TUSatAPI::UsatClientReadyIndication() |
|
1071 { |
|
1072 LOG( SIMPLE, "SATENGINE: TUSatAPI::UsatClientReadyIndication calling-exit") |
|
1073 |
|
1074 return iSat.UsatClientReadyIndication(); |
|
1075 } |