1 // Copyright (c) 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 // CLtsySatHandler |
|
15 |
|
16 #include <ctsy/ltsy/cctsydispatchercallback.h> |
|
17 #include <mmtsy_ipcdefs.h> |
|
18 #include <satcs.h> |
|
19 |
|
20 |
|
21 |
|
22 #include "cltsysathandler.h" |
|
23 #include <ctsy/ltsy/ltsylogger.h> |
|
24 #include "ltsymacros.h" |
|
25 |
|
26 |
|
27 |
|
28 CLtsySatHandler::CLtsySatHandler( |
|
29 CCtsyDispatcherCallback& aCtsyDispatcherCallback) |
|
30 : iCtsyDispatcherCallback(aCtsyDispatcherCallback) |
|
31 { |
|
32 } |
|
33 |
|
34 |
|
35 CLtsySatHandler::~CLtsySatHandler() |
|
36 { |
|
37 } |
|
38 |
|
39 |
|
40 CLtsySatHandler* CLtsySatHandler::NewLC( |
|
41 CCtsyDispatcherCallback& aCtsyDispatcherCallback) |
|
42 { |
|
43 TSYLOGENTRYEXIT; |
|
44 CLtsySatHandler* self = new (ELeave) CLtsySatHandler(aCtsyDispatcherCallback); |
|
45 CleanupStack::PushL(self); |
|
46 self->ConstructL(); |
|
47 return self; |
|
48 } |
|
49 |
|
50 |
|
51 CLtsySatHandler* CLtsySatHandler::NewL(CCtsyDispatcherCallback& aCtsyDispatcherCallback) |
|
52 { |
|
53 TSYLOGENTRYEXIT; |
|
54 CLtsySatHandler* self= |
|
55 CLtsySatHandler::NewLC(aCtsyDispatcherCallback); |
|
56 CleanupStack::Pop(self); |
|
57 return self; |
|
58 } |
|
59 |
|
60 |
|
61 void CLtsySatHandler::ConstructL() |
|
62 /** |
|
63 * Second phase constructor. |
|
64 */ |
|
65 { |
|
66 TSYLOGENTRYEXIT; |
|
67 |
|
68 |
|
69 } // CLtsySatHandler::ConstructL |
|
70 |
|
71 TBool CLtsySatHandler::IsInterfaceSupported(TLtsyDispatchInterfaceApiId aDispatchApiId) |
|
72 /** |
|
73 * Returns whether a Dispatch Interface APi is supported or not. |
|
74 * |
|
75 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
76 * |
|
77 * @param aDispatchApiId Id of Dispatch interface being queried |
|
78 * @return indication whether interface is supported or not |
|
79 */ |
|
80 { |
|
81 |
|
82 switch(aDispatchApiId) |
|
83 { |
|
84 // Insert ApiIds when support is provided in LTSY e.g. |
|
85 // case MLtsyDispatchPhoneBootNotifySimStatusReady::KLtsyDispatchPhoneBootNotifySimStatusReadyApiId: return ETrue; |
|
86 |
|
87 default: |
|
88 return EFalse; |
|
89 } |
|
90 } |
|
91 |
|
92 void CLtsySatHandler::IsCallbackIndicatorSupported(TLtsyDispatchIndIdGroup /*aIdGroup*/, TUint32& /*aIndIdBitMask*/) |
|
93 /** |
|
94 * Returns the set of callback indicators that are supported. |
|
95 * |
|
96 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
97 * |
|
98 * @param aIdGroup ID of group that is being queried e.g. aIdGroup=EIndIdGroup1 |
|
99 * @param aIndIdBitMask [out] argument that should return a bitmask indicating which indicator callbacks are supported. |
|
100 */ |
|
101 { |
|
102 |
|
103 //Create bitmask with bitset for each indicator ID that is supported. E.g. |
|
104 /* |
|
105 if(aIdGroup == EIndIdGroup1) |
|
106 aIndIdBitMask = KLtsyDispatchPhoneNotifyNetworkModeChangeIndId | |
|
107 KLtsyDispatchPhoneNotifyEgprsInfoChangeIndId | |
|
108 KLtsyDispatchPhoneNotifySignalStrengthChangeIndId; |
|
109 else |
|
110 aIndIdBitMask = 0; //no indicators from other groups supported |
|
111 */ |
|
112 } |
|
113 |
|
114 |
|
115 TInt CLtsySatHandler::HandleSmsDeliverReportReqL(const TDesC8& /*aSmsDeliverReportTpdu*/) |
|
116 /** |
|
117 * This request has no associated callback. |
|
118 * |
|
119 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
120 * |
|
121 * @param aSmsDeliverReportTpdu The SMS-DELIVER-REPORT TPDU element to be contained in a |
|
122 * RP-ERROR-PDU (negative acknowledgement) or RP-ACK-PDU (a positive acknowledgement) to a |
|
123 * SMS DELIVER or SMS STATUS REPORT. |
|
124 * |
|
125 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
126 * or another error code to indicate the failure otherwise. |
|
127 */ |
|
128 { |
|
129 TSYLOGENTRYEXIT; |
|
130 |
|
131 TInt ret = KErrNotSupported; |
|
132 |
|
133 // TODO: Add implementation here....... |
|
134 |
|
135 |
|
136 return TSYLOGSETEXITERR(ret); |
|
137 } // CLtsySatHandler::HandleSmsDeliverReportReqL |
|
138 |
|
139 |
|
140 TInt CLtsySatHandler::HandleGetImageInstanceReqL(TUint8 /*aEfImgRecordNumber*/, TUint8 /*aInstanceNumberInEfImgRecord*/) |
|
141 /** |
|
142 * This request is completed by invoking |
|
143 * CCtsyDispatcherCallback::CallbackSatGetImageInstanceComp |
|
144 * |
|
145 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
146 * |
|
147 * @param aEfImgRecordNumber The record number of the icons EF(Img) record for the |
|
148 * icon image instance being retrieved. |
|
149 * @param aInstanceNumberInEfImgRecord The record number of the icon instance, in the icons EF(Img) record |
|
150 * for the icon image instance being retrieved. |
|
151 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
152 * or another error code to indicate the failure otherwise. |
|
153 */ |
|
154 { |
|
155 TSYLOGENTRYEXIT; |
|
156 //TSYLOGENTRYEXITARGS(_L8("aEfImgRecordNumber=%d, aInstanceNumberInEfImgRecord=%d"), aEfImgRecordNumber, aInstanceNumberInEfImgRecord); |
|
157 |
|
158 TInt ret = KErrNotSupported; |
|
159 |
|
160 // TODO: Add implementation here....... |
|
161 |
|
162 |
|
163 return TSYLOGSETEXITERR(ret); |
|
164 } // CLtsySatHandler::HandleGetImageInstanceReqL |
|
165 |
|
166 TInt CLtsySatHandler::HandleGetIconDataReqL(TUint8 /*aEfImgRecordNumber*/, const TDesC8& /*aSimFilePath*/) |
|
167 /** |
|
168 * This request is completed by invoking |
|
169 * CCtsyDispatcherCallback::CallbackSatGetIconDataComp |
|
170 * |
|
171 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
172 * |
|
173 * @param aEfImgRecordNumber EF(img) record number of the icon to retrieve. |
|
174 * @param aSimFilePath The full file path to the EF(Img). |
|
175 * Bytes 0-1 MF (0x3F00) |
|
176 * Bytes 2-3 DF(Telecom) (0x7F10) |
|
177 * Bytes 4-5 DF(Graphics)(0x5F50) |
|
178 * Bytes 6-7 EF(Ef(Img)) (0x4F20) |
|
179 * |
|
180 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
181 * or another error code to indicate the failure otherwise. |
|
182 */ |
|
183 { |
|
184 TSYLOGENTRYEXIT; |
|
185 //TSYLOGENTRYEXITARGS(_L8("aEfImgRecordNumber=%d"), aEfImgRecordNumber); |
|
186 |
|
187 TInt ret = KErrNotSupported; |
|
188 |
|
189 // TODO: Add implementation here....... |
|
190 |
|
191 |
|
192 return TSYLOGSETEXITERR(ret); |
|
193 } // CLtsySatHandler::HandleGetIconDataReqL |
|
194 |
|
195 |
|
196 TInt CLtsySatHandler::HandleGetClutReqL(TUint8 /*aEfImgRecordNumber*/, TUint8 /*aInstanceNumberInEfImgRecord*/) |
|
197 /** |
|
198 * This request is completed by invoking |
|
199 * CCtsyDispatcherCallback::CallbackSatGetClutComp |
|
200 * |
|
201 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
202 * |
|
203 * @param aEfImgRecordNumber The record number of the icons EF(Img) record for the |
|
204 * CLUT being retrieved. |
|
205 * @param aInstanceNumberInEfImgRecord The record number of the icon instance, in the icons EF(Img) record |
|
206 * for the CLUT being retrieved. |
|
207 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
208 * or another error code to indicate the failure otherwise. |
|
209 */ |
|
210 { |
|
211 TSYLOGENTRYEXIT; |
|
212 //TSYLOGENTRYEXITARGS(_L8("aEfImgRecordNumber=%d, aInstanceNumberInEfImgRecord=%d"), aEfImgRecordNumber, aInstanceNumberInEfImgRecord); |
|
213 |
|
214 TInt ret = KErrNotSupported; |
|
215 |
|
216 // TODO: Add implementation here....... |
|
217 |
|
218 |
|
219 return TSYLOGSETEXITERR(ret); |
|
220 } // CLtsySatHandler::HandleGetClutReqL |
|
221 |
|
222 |
|
223 TInt CLtsySatHandler::HandleGetDefaultBearerCapabilityReqL() |
|
224 /** |
|
225 * This request is completed by invoking |
|
226 * CCtsyDispatcherCallback::CallbackSatGetDefaultBearerCapabilityComp |
|
227 * |
|
228 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
229 * |
|
230 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
231 * or another error code to indicate the failure otherwise. |
|
232 */ |
|
233 { |
|
234 TSYLOGENTRYEXIT; |
|
235 |
|
236 TInt ret = KErrNotSupported; |
|
237 |
|
238 // TODO: Add implementation here....... |
|
239 |
|
240 return TSYLOGSETEXITERR(ret); |
|
241 } // CLtsySatHandler::HandleGetDefaultBearerCapabilityReqL |
|
242 |
|
243 |
|
244 TInt CLtsySatHandler::HandleGetSmsPpDownloadSupportedReqL() |
|
245 /** |
|
246 * This request is completed by invoking |
|
247 * CCtsyDispatcherCallback::CallbackSatGetSmsPpDownloadSupportedComp |
|
248 * |
|
249 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
250 * |
|
251 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
252 * or another error code to indicate the failure otherwise. |
|
253 */ |
|
254 { |
|
255 TSYLOGENTRYEXIT; |
|
256 |
|
257 TInt ret = KErrNotSupported; |
|
258 |
|
259 // TODO: Add implementation here....... |
|
260 |
|
261 return TSYLOGSETEXITERR(ret); |
|
262 } // CLtsySatHandler::HandleGetSmsPpDownloadSupportedReqL |
|
263 |
|
264 |
|
265 TInt CLtsySatHandler::HandleGetSmsControlActivatedReqL() |
|
266 /** |
|
267 * This request is completed by invoking |
|
268 * CCtsyDispatcherCallback::CallbackSatGetSmsControlActivatedComp |
|
269 * |
|
270 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
271 * |
|
272 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
273 * or another error code to indicate the failure otherwise. |
|
274 */ |
|
275 { |
|
276 TSYLOGENTRYEXIT; |
|
277 |
|
278 TInt ret = KErrNotSupported; |
|
279 |
|
280 // TODO: Add implementation here....... |
|
281 |
|
282 return TSYLOGSETEXITERR(ret); |
|
283 } // CLtsySatHandler::HandleGetSmsControlActivatedReqL |
|
284 |
|
285 |
|
286 TInt CLtsySatHandler::HandleCellBroadcastEnvelopeReqL(const TDesC8& /*aEnvelope*/) |
|
287 /** |
|
288 * This request has no associated callback. |
|
289 * |
|
290 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
291 * |
|
292 * @param aEnvelope BER-TLV encoded data containing an (CELL BROADCAST DOWNLOAD) ENVELOPE command. |
|
293 * |
|
294 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
295 * or another error code to indicate the failure otherwise. |
|
296 */ |
|
297 { |
|
298 TSYLOGENTRYEXIT; |
|
299 |
|
300 TInt ret = KErrNotSupported; |
|
301 |
|
302 // TODO: Add implementation here....... |
|
303 |
|
304 return TSYLOGSETEXITERR(ret); |
|
305 } // CLtsySatHandler::HandleCellBroadcastEnvelopeReqL |
|
306 |
|
307 TInt CLtsySatHandler::HandleGetAccessTechnologyReqL() |
|
308 /** |
|
309 * This request is completed by invoking |
|
310 * CCtsyDispatcherCallback::CallbackSatGetAccessTechnologyComp |
|
311 * |
|
312 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
313 * |
|
314 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
315 * or another error code to indicate the failure otherwise. |
|
316 */ |
|
317 { |
|
318 TSYLOGENTRYEXIT; |
|
319 |
|
320 TInt ret = KErrNotSupported; |
|
321 |
|
322 // TODO: Add implementation here....... |
|
323 |
|
324 |
|
325 return TSYLOGSETEXITERR(ret); |
|
326 } // CLtsySatHandler::HandleGetAccessTechnologyReqL |
|
327 |
|
328 TInt CLtsySatHandler::HandleTimingAdvanceReqL() |
|
329 /** |
|
330 * This request is completed by invoking |
|
331 * CCtsyDispatcherCallback::CallbackSatTimingAdvanceComp |
|
332 * |
|
333 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
334 * |
|
335 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
336 * or another error code to indicate the failure otherwise. |
|
337 */ |
|
338 { |
|
339 TSYLOGENTRYEXIT; |
|
340 |
|
341 TInt ret = KErrNotSupported; |
|
342 |
|
343 // TODO: Add implementation here....... |
|
344 |
|
345 |
|
346 return TSYLOGSETEXITERR(ret); |
|
347 } // CLtsySatHandler::HandleTimingAdvanceReqL |
|
348 |
|
349 |
|
350 TInt CLtsySatHandler::HandleSmControlResponseDataReqL(TUint8 /*aResult*/, const TDesC8& /*aRpDestinationAddress*/, const TDesC8& /*aTpDestinationAddress*/) |
|
351 /** |
|
352 * This request has no associated callback. |
|
353 * |
|
354 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
355 * |
|
356 * @param aResult MO short message control result the SIM gives to the ME concerning whether to |
|
357 * allow, bar or modify the proposed short message, encoded as defined in "3GPP TS 11.10-4, 27.22.8 MO SHORT MESSAGE CONTROL BY SIM" |
|
358 * @param aRpDestinationAddress RP Destination Address of the Service Centre to which the ME is proposing to send the short message. |
|
359 * If the address data is not present (zero length), then assume the RP Destination Address of the Service Centre is not to be modified. |
|
360 * @param aTpDestinationAddress TP Destination Address to which the ME is proposing to send the short message. |
|
361 * If the address data is not present (zero length), then assume the TP Destination Address is not to be modified. |
|
362 * |
|
363 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
364 * or another error code to indicate the failure otherwise. |
|
365 */ |
|
366 { |
|
367 TSYLOGENTRYEXIT; |
|
368 |
|
369 TInt ret = KErrNotSupported; |
|
370 |
|
371 // TODO: Add implementation here....... |
|
372 |
|
373 |
|
374 return TSYLOGSETEXITERR(ret); |
|
375 } // CLtsySatHandler::HandleSmControlResponseDataReqL |
|
376 |
|
377 |
|
378 TInt CLtsySatHandler::HandleProvideLocationInfoReqL() |
|
379 /** |
|
380 * This request is completed by invoking |
|
381 * CCtsyDispatcherCallback::CallbackSatProvideLocationInfoComp |
|
382 * |
|
383 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
384 * |
|
385 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
386 * or another error code to indicate the failure otherwise. |
|
387 */ |
|
388 { |
|
389 TSYLOGENTRYEXIT; |
|
390 |
|
391 TInt ret = KErrNotSupported; |
|
392 |
|
393 // TODO: Add implementation here....... |
|
394 |
|
395 |
|
396 return TSYLOGSETEXITERR(ret); |
|
397 } // CLtsySatHandler::HandleProvideLocationInfoReqL |
|
398 |
|
399 |
|
400 TInt CLtsySatHandler::HandleSetPollingIntervalReqL(TUint8 /*aPollingInterval*/) |
|
401 /** |
|
402 * This request is completed by invoking |
|
403 * CCtsyDispatcherCallback::CallbackSatSetPollingIntervalComp |
|
404 * |
|
405 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
406 * |
|
407 * @param aPollingInterval The polling interval in seconds indicating how often the |
|
408 * terminal sends STATUS commands related to Proactive Polling |
|
409 * (zero indicates Polling should be turned off) |
|
410 * |
|
411 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
412 * or another error code to indicate the failure otherwise. |
|
413 */ |
|
414 { |
|
415 TSYLOGENTRYEXIT; |
|
416 |
|
417 TInt ret = KErrNotSupported; |
|
418 |
|
419 // TODO: Add implementation here....... |
|
420 |
|
421 |
|
422 return TSYLOGSETEXITERR(ret); |
|
423 } // CLtsySatHandler::HandleSetPollingIntervalReqL |
|
424 |
|
425 |
|
426 TInt CLtsySatHandler::HandleSmsPpDownloadEnvelopeReqL(const TDesC8& /*aEnvelope*/) |
|
427 /** |
|
428 * This request has no associated callback. |
|
429 * |
|
430 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
431 * |
|
432 * @param aEnvelope BER-TLV encoded data containing an (SMS-PP DOWNLOAD) ENVELOPE command. |
|
433 * |
|
434 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
435 * or another error code to indicate the failure otherwise. |
|
436 */ |
|
437 { |
|
438 TSYLOGENTRYEXIT; |
|
439 |
|
440 TInt ret = KErrNotSupported; |
|
441 |
|
442 // TODO: Add implementation here....... |
|
443 |
|
444 |
|
445 return TSYLOGSETEXITERR(ret); |
|
446 } // CLtsySatHandler::HandleSmsPpDownloadEnvelopeReqL |
|
447 |
|
448 |
|
449 TInt CLtsySatHandler::HandleLocalInformationNmrReqL() |
|
450 /** |
|
451 * This request is completed by invoking |
|
452 * CCtsyDispatcherCallback::CallbackSatLocalInformationNmrComp |
|
453 * |
|
454 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
455 * |
|
456 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
457 * or another error code to indicate the failure otherwise. |
|
458 */ |
|
459 { |
|
460 TSYLOGENTRYEXIT; |
|
461 |
|
462 TInt ret = KErrNotSupported; |
|
463 |
|
464 // TODO: Add implementation here....... |
|
465 |
|
466 return TSYLOGSETEXITERR(ret); |
|
467 } // CLtsySatHandler::HandleLocalInformationNmrReqL |
|
468 |
|
469 |
|
470 TInt CLtsySatHandler::HandleGetUssdControlSupportedReqL() |
|
471 /** |
|
472 * This request is completed by invoking |
|
473 * CCtsyDispatcherCallback::CallbackSatGetUssdControlSupportedComp |
|
474 * |
|
475 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
476 * |
|
477 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
478 * or another error code to indicate the failure otherwise. |
|
479 */ |
|
480 { |
|
481 TSYLOGENTRYEXIT; |
|
482 |
|
483 TInt ret = KErrNotSupported; |
|
484 |
|
485 // TODO: Add implementation here....... |
|
486 |
|
487 |
|
488 return TSYLOGSETEXITERR(ret); |
|
489 } // CLtsySatHandler::HandleGetUssdControlSupportedReqL |
|
490 |
|
491 |
|
492 TInt CLtsySatHandler::HandleCallAndSmsControlEnvelopeReqL(const TDesC8& /*aEnvelope*/) |
|
493 /** |
|
494 * This request has no associated callback. |
|
495 * |
|
496 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
497 * |
|
498 * @param aEnvelope BER-TLV encoded data containing a Call Control or MO SMS control by SIM ENVELOPE command |
|
499 * |
|
500 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
501 * or another error code to indicate the failure otherwise. |
|
502 */ |
|
503 { |
|
504 TSYLOGENTRYEXIT; |
|
505 |
|
506 TInt ret = KErrNotSupported; |
|
507 |
|
508 // TODO: Add implementation here....... |
|
509 |
|
510 |
|
511 |
|
512 return TSYLOGSETEXITERR(ret); |
|
513 } // CLtsySatHandler::HandleCallAndSmsControlEnvelopeReqL |
|
514 |
|
515 |
|
516 TInt CLtsySatHandler::HandleRefreshAllowedReqL(const TDesC8& /*aRefreshFileList*/, const TDesC8& /*aAid*/, TUint16 /*aTsyCache*/) |
|
517 /** |
|
518 * This request is completed by invoking |
|
519 * CCtsyDispatcherCallback::CallbackSatRefreshAllowed |
|
520 * |
|
521 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
522 * |
|
523 * @param aRefreshFileList The list of files (full path) that have been changed by the UICC (see ETSI 102 221 or ETSI 151 011) |
|
524 * @param aAid Indicates the application on the UICC to be refreshed (as defined ETSI TS 101 220) . |
|
525 * @param aTsyCache Bit field of files that are cached in SIM ATK TSY (examine using CSatNotificationsTsy::TCachedSimAtkFiles) |
|
526 * |
|
527 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
528 * or another error code to indicate the failure otherwise. |
|
529 */ |
|
530 { |
|
531 TSYLOGENTRYEXIT; |
|
532 |
|
533 TInt ret = KErrNotSupported; |
|
534 |
|
535 // TODO: Add implementation here....... |
|
536 |
|
537 |
|
538 return TSYLOGSETEXITERR(ret); |
|
539 } // CLtsySatHandler::HandleRefreshAllowedReqL |
|
540 |
|
541 |
|
542 TInt CLtsySatHandler::HandleReadyReqL() |
|
543 /** |
|
544 * This request is completed by invoking |
|
545 * CCtsyDispatcherCallback::CallbackSatReady |
|
546 * |
|
547 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
548 * |
|
549 * A call to this function indicates that the CTSY is ready to receive proactive commands from the LTSY. |
|
550 * |
|
551 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
552 * or another error code to indicate the failure otherwise. |
|
553 */ |
|
554 { |
|
555 TSYLOGENTRYEXIT; |
|
556 |
|
557 TInt ret = KErrNotSupported; |
|
558 |
|
559 // TODO: Add implementation here....... |
|
560 |
|
561 |
|
562 return TSYLOGSETEXITERR(ret); |
|
563 } // CLtsySatHandler::HandleReadyReqL |
|
564 |
|
565 |
|
566 TInt CLtsySatHandler::HandlePCmdNotificationReqL(TUint8 /*aPCmdType*/) |
|
567 /** |
|
568 * This request has no associated callback. |
|
569 * |
|
570 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
571 * |
|
572 * @param aPCmdType The number of the proactive command for which notification is being requested (e.g. KSetUpMenu), |
|
573 * as defined in ETSI 102 223 etc. |
|
574 * |
|
575 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
576 * or another error code to indicate the failure otherwise. |
|
577 */ |
|
578 { |
|
579 TSYLOGENTRYEXIT; |
|
580 |
|
581 TInt ret = KErrNotSupported; |
|
582 |
|
583 // TODO: Add implementation here....... |
|
584 |
|
585 |
|
586 return TSYLOGSETEXITERR(ret); |
|
587 } // CLtsySatHandler::HandlePCmdNotificationReqL |
|
588 |
|
589 |
|
590 TInt CLtsySatHandler::HandleUssdControlEnvelopeErrorReqL() |
|
591 /** |
|
592 * This request is completed by invoking |
|
593 * CCtsyDispatcherCallback::CallbackSatUssdControlEnvelopeError |
|
594 * |
|
595 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
596 * |
|
597 * |
|
598 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
599 * or another error code to indicate the failure otherwise. |
|
600 */ |
|
601 { |
|
602 TSYLOGENTRYEXIT; |
|
603 |
|
604 TInt ret = KErrNotSupported; |
|
605 |
|
606 // TODO: Add implementation here....... |
|
607 |
|
608 |
|
609 return TSYLOGSETEXITERR(ret); |
|
610 } // CLtsySatHandler::HandleUssdControlEnvelopeErrorReqL |
|
611 |
|
612 |
|
613 TInt CLtsySatHandler::HandleTimerExpirationEnvelopeReqL(const TDesC8& /*aEnvelope*/) |
|
614 /** |
|
615 * This request has no associated callback. |
|
616 * |
|
617 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
618 * |
|
619 * @param aEnvelope BER-TLV encoded Timer expiration ENVELOPE command |
|
620 * see "ETSI TS 102 223" under "ENVELOPE commands" "Timer expiration" |
|
621 * |
|
622 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
623 * or another error code to indicate the failure otherwise. |
|
624 */ |
|
625 { |
|
626 TSYLOGENTRYEXIT; |
|
627 |
|
628 TInt ret = KErrNotSupported; |
|
629 |
|
630 // TODO: Add implementation here....... |
|
631 |
|
632 |
|
633 |
|
634 return TSYLOGSETEXITERR(ret); |
|
635 } // CLtsySatHandler::HandleTimerExpirationEnvelopeReqL |
|
636 |
|
637 |
|
638 TInt CLtsySatHandler::HandleTerminalRspReqL(const TDesC8& /*aTerminalRsp*/) |
|
639 /** |
|
640 * This request is completed by invoking |
|
641 * CCtsyDispatcherCallback::CallbackSatTerminalRsp |
|
642 * |
|
643 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
644 * |
|
645 * @param aTerminalRsp The terminal response TLV as formatted in "ETSI TS 102 223" Under "Structure of TERMINAL RESPONSE" |
|
646 * |
|
647 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
648 * or another error code to indicate the failure otherwise. |
|
649 */ |
|
650 { |
|
651 TSYLOGENTRYEXIT; |
|
652 |
|
653 TInt ret = KErrNotSupported; |
|
654 |
|
655 // TODO: Add implementation here....... |
|
656 |
|
657 |
|
658 |
|
659 return TSYLOGSETEXITERR(ret); |
|
660 } // CLtsySatHandler::HandleTerminalRspReqL |
|
661 |
|
662 |
|
663 TInt CLtsySatHandler::HandleMenuSelectionEnvelopeReqL(const TDesC8& /*aEnvelope*/) |
|
664 /** |
|
665 * This request has no associated callback. |
|
666 * |
|
667 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
668 * |
|
669 * @param aEnvelope BER-TLV encoded Envelope comprising a notification from |
|
670 * the ME that the user has either requested help about, or has selected a menu item |
|
671 * that was previously provided by the SIM application via the SETUP MENU proactive |
|
672 * command. |
|
673 * |
|
674 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
675 * or another error code to indicate the failure otherwise. |
|
676 */ |
|
677 { |
|
678 TSYLOGENTRYEXIT; |
|
679 |
|
680 TInt ret = KErrNotSupported; |
|
681 |
|
682 // TODO: Add implementation here....... |
|
683 |
|
684 |
|
685 |
|
686 return TSYLOGSETEXITERR(ret); |
|
687 } // CLtsySatHandler::HandleMenuSelectionEnvelopeReqL |
|
688 |
|
689 |
|
690 TInt CLtsySatHandler::HandleEventDownloadEnvelopeReqL(const TDesC8& /*aEnvelope*/) |
|
691 /** |
|
692 * This request has no associated callback. |
|
693 * |
|
694 * This API is optional and should only be used if the licensee wishes to including the Dispatcher beneath their own SIM ATK TSY. |
|
695 * |
|
696 * @param aEnvelope BER-TLV encoded Event Download ENVELOPE command |
|
697 * see "ETSI TS 102 223" under "ENVELOPE commands" "Event Download" |
|
698 * |
|
699 * @return KErrNone on success, KErrNotSupported if this request is not supported, |
|
700 * or another error code to indicate the failure otherwise. |
|
701 */ |
|
702 { |
|
703 TSYLOGENTRYEXIT; |
|
704 |
|
705 TInt ret = KErrNotSupported; |
|
706 |
|
707 // TODO: Add implementation here....... |
|
708 |
|
709 |
|
710 |
|
711 return TSYLOGSETEXITERR(ret); |
|
712 } // CLtsySatHandler::HandleEventDownloadSyncL |
|
713 |
|
714 |
|
715 |
|
716 |
|
717 |
|