equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2007-2008 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2007-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of the License "Eclipse Public License v1.0" |
5 * under the terms of the License "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
93 const TUint8 KLengthOfSCPNumber = 15; |
93 const TUint8 KLengthOfSCPNumber = 15; |
94 const TUint8 KLengthOfHzCzTag = 13; |
94 const TUint8 KLengthOfHzCzTag = 13; |
95 const TUint8 KHomeZoneActiveBit = 0x01; |
95 const TUint8 KHomeZoneActiveBit = 0x01; |
96 const TUint8 KCityZoneActiveBit = 0x02; |
96 const TUint8 KCityZoneActiveBit = 0x02; |
97 |
97 |
98 const TUint8 KSimNumberOfCbMsgIds = 15; |
98 const TUint16 KUnusedCbMsgId = 0xffff; |
99 const TUint KUnusedCbMsgId = 0xffff; |
|
100 |
99 |
101 const TUint8 KCustomTransId = 6; |
100 const TUint8 KCustomTransId = 6; |
102 |
101 |
103 // MACROS |
102 // MACROS |
104 //None |
103 //None |
210 * Destructor. |
209 * Destructor. |
211 * @return void |
210 * @return void |
212 */ |
211 */ |
213 ~CMmCustomMessHandler(); |
212 ~CMmCustomMessHandler(); |
214 |
213 |
215 public: // New Functions |
214 public: // New Functions |
216 |
215 |
217 /** |
216 /** |
218 * Creates CallReleaseReq ISI message and sends it to Phonet. |
217 * Creates CallReleaseReq ISI message and sends it to Phonet. |
219 * @param TUint8 aTransactionId: unique transaction id |
218 * @param TUint8 aTransactionId: unique transaction id |
220 * @param TUint8 aCallId: Call ID of this call (NOS Call ID) |
219 * @param TUint8 aCallId: Call ID of this call (NOS Call ID) |
413 * Response to read field request |
412 * Response to read field request |
414 * @param aStatus Status |
413 * @param aStatus Status |
415 * @param aFileData File data |
414 * @param aFileData File data |
416 * @return void |
415 * @return void |
417 */ |
416 */ |
418 void UiccReadFieldResp( TInt aStatus, const TDesC8& aFileData ); |
417 void UiccReadFieldResp( TUint8 aStatus, const TDesC8& aFileData ); |
419 |
418 |
420 /** |
419 /** |
421 * Read ciphering indicator status from SIM/USIM |
420 * Read ciphering indicator status from SIM/USIM |
422 * @param aTrId Transaction ID |
421 * @param aTrId Transaction ID |
423 * @return Error code |
422 * @return Error code |
446 * Response to read operator name request |
445 * Response to read operator name request |
447 * @param aStatus Status |
446 * @param aStatus Status |
448 * @param aFileData File data |
447 * @param aFileData File data |
449 * @return none |
448 * @return none |
450 */ |
449 */ |
451 void UiccOperatorResp( TInt aStatus, const TDesC8& aFileData ); |
450 void UiccOperatorResp( TUint8 aStatus, const TDesC8& aFileData ); |
452 |
451 |
453 /** |
452 /** |
454 * Disconnects UICC server from smartcard and |
453 * Disconnects UICC server from smartcard and |
455 * activates UICC SAP APDU interface |
454 * activates UICC SAP APDU interface |
456 * @return Error code |
455 * @return Error code |
561 * @param aTraId Transaction ID |
560 * @param aTraId Transaction ID |
562 * @param aFileData File data |
561 * @param aFileData File data |
563 * @return void |
562 * @return void |
564 */ |
563 */ |
565 void UiccReadCbMsgIdsResp( |
564 void UiccReadCbMsgIdsResp( |
566 TInt aStatus, |
565 TUint8 aStatus, |
567 TInt aTraId, |
566 TInt aTraId, |
568 const TDesC8& aFileData ); |
567 const TDesC8& aFileData ); |
569 |
568 |
570 /** |
569 /** |
571 * Response to delete CB message ID request |
570 * Response to delete CB message ID request |
572 * @param aStatus Status |
571 * @param aStatus Status |
573 * @return void |
572 * @return void |
574 */ |
573 */ |
575 void UiccDeleteCbMsgIdResp( TInt aStatus ); |
574 void UiccDeleteCbMsgIdResp( TUint8 aStatus ); |
576 |
575 |
577 /** |
576 /** |
578 * Read home zone parameters from UICC |
577 * Read home zone parameters from UICC |
579 * @return Error code |
578 * @return Error code |
580 */ |
579 */ |
585 * @param aStatus Status |
584 * @param aStatus Status |
586 * @param aFileData File data |
585 * @param aFileData File data |
587 * @return void |
586 * @return void |
588 */ |
587 */ |
589 void UiccReadViagHomeZoneParametersResp( |
588 void UiccReadViagHomeZoneParametersResp( |
590 TInt aStatus, |
589 TUint8 aStatus, |
591 const TDesC8& aFileData ); |
590 const TDesC8& aFileData ); |
592 |
591 |
593 /** |
592 /** |
594 * Read home zone cache from UICC |
593 * Read home zone cache from UICC |
595 * @params aRecordId Record identifier |
594 * @params aRecordId Record identifier |
603 * @param aStatus Status |
602 * @param aStatus Status |
604 * @param aFileData File data |
603 * @param aFileData File data |
605 * @return void |
604 * @return void |
606 */ |
605 */ |
607 void UiccReadViagHomeZoneCacheResp( |
606 void UiccReadViagHomeZoneCacheResp( |
608 TInt aStatus, |
607 TUint8 aStatus, |
609 const TDesC8& aFileData ); |
608 const TDesC8& aFileData ); |
610 |
609 |
611 /** |
610 /** |
612 * Request to write home zone settings |
611 * Request to write home zone settings |
613 * @param aUhziuiSettings UHZIUI settings |
612 * @param aUhziuiSettings UHZIUI settings |
619 /** |
618 /** |
620 * Response to write home zone settings |
619 * Response to write home zone settings |
621 * @param aStatus Status |
620 * @param aStatus Status |
622 * @return void |
621 * @return void |
623 */ |
622 */ |
624 void UiccWriteViagHomeZoneUhziueSettingsResp( TInt aStatus ); |
623 void UiccWriteViagHomeZoneUhziueSettingsResp( TUint8 aStatus ); |
625 |
624 |
626 /** |
625 /** |
627 * Write Viag Home Zone cache from UICC |
626 * Write Viag Home Zone cache from UICC |
628 * @params aRecordId Record identifier |
627 * @params aRecordId Record identifier |
629 * @params aViagRecordContent Record content |
628 * @params aViagRecordContent Record content |
636 /** |
635 /** |
637 * Response Write Viag Home Zone cache request |
636 * Response Write Viag Home Zone cache request |
638 * @param aStatus Status |
637 * @param aStatus Status |
639 * @return void |
638 * @return void |
640 */ |
639 */ |
641 void UiccWriteViagHomeZoneCacheResp( TInt aStatus ); |
640 void UiccWriteViagHomeZoneCacheResp( TUint8 aStatus ); |
642 |
641 |
643 public: // Functions from base classes |
642 public: // Functions from base classes |
644 |
643 |
645 /** |
644 /** |
646 * ISI message for CustomMessageHandler received |
645 * ISI message for CustomMessageHandler received |
647 * @param const TIsiReceiveC& aIsiMessage: reference to received ISI message |
646 * @param const TIsiReceiveC& aIsiMessage: reference to received ISI message |
648 */ |
647 */ |
1353 * @param aStatus: status of the response |
1352 * @param aStatus: status of the response |
1354 * @return void: none |
1353 * @return void: none |
1355 */ |
1354 */ |
1356 void UiccHandleIsimActivationResp( TInt aStatus ); |
1355 void UiccHandleIsimActivationResp( TInt aStatus ); |
1357 |
1356 |
|
1357 /** |
|
1358 * Collects cellbroadcast topic IDs into array. Leaves if nothig found |
|
1359 * @param aFileData elementary file data |
|
1360 * @return array with topic IDs |
|
1361 */ |
|
1362 CArrayFixFlat<RMmCustomAPI::TSimCbTopic>* CollectCbTopicIdsL( |
|
1363 const TDesC16& aTopicIds ) const; |
|
1364 |
1358 protected: // Data |
1365 protected: // Data |
1359 |
1366 |
1360 // Pointer to the PhonetSender |
1367 // Pointer to the PhonetSender |
1361 CMmPhoNetSender* iPhoNetSender; |
1368 CMmPhoNetSender* iPhoNetSender; |
1362 |
1369 |
1418 |
1425 |
1419 // Cb msg ids max count |
1426 // Cb msg ids max count |
1420 TInt iCbMsgIdsMaxCount; |
1427 TInt iCbMsgIdsMaxCount; |
1421 |
1428 |
1422 // Saves the SIM CB topic number for deletion |
1429 // Saves the SIM CB topic number for deletion |
1423 TUint iSimCBTopicToBeDeleted; |
1430 TUint16 iSimCBTopicToBeDeleted; |
1424 |
1431 |
1425 // Is the SIM topic is being deleted (ETrue ) or not (EFalse) |
1432 // Is the SIM topic is being deleted (ETrue ) or not (EFalse) |
1426 TBool iTopicInSimMemoryDelete; |
1433 TBool iTopicInSimMemoryDelete; |
1427 |
1434 |
1428 // Enhanced Cell Information |
1435 // Enhanced Cell Information |