58 const TUint8 KMaskBits1to4 = 0x0F; |
58 const TUint8 KMaskBits1to4 = 0x0F; |
59 const TUint8 KMaskBits5to7 = 0x70; |
59 const TUint8 KMaskBits5to7 = 0x70; |
60 const TUint8 KMaskBits6to7 = 0x60; |
60 const TUint8 KMaskBits6to7 = 0x60; |
61 const TUint8 KMaskBits1to7 = 0x7F; |
61 const TUint8 KMaskBits1to7 = 0x7F; |
62 const TUint8 KMaskBit8 = 0x80; |
62 const TUint8 KMaskBit8 = 0x80; |
|
63 |
|
64 // These OBJ ID is used in pipe direction. |
|
65 // Pipe-End-Point, Circuit Switched Data server |
|
66 #define PN_OBJ_CSD_SRV 0x31 |
63 |
67 |
64 // MACROS |
68 // MACROS |
65 // None |
69 // None |
66 |
70 |
67 // DATA TYPES |
71 // DATA TYPES |
559 * @return void |
563 * @return void |
560 */ |
564 */ |
561 void CsdMultimediaDataRateInd( const TIsiReceiveC &aIsiMessage ); |
565 void CsdMultimediaDataRateInd( const TIsiReceiveC &aIsiMessage ); |
562 |
566 |
563 /** |
567 /** |
564 * Creates subblocks for CSD_CALL_CONTROL_REQ |
568 * Creates subblocks for CSD_CALL_CONTROL_REQ |
565 * @param aTelNumber Phone number to be called |
569 * @param aTelNumber Phone number to be called |
566 * @param aIdRestrict Caller id restriction |
570 * @param aIdRestrict Caller id restriction |
567 * @param aCsdIsiMsg CSD IsiMsg |
571 * @param aCsdIsiMsg CSD IsiMsg |
568 * @param numOfSbInMsg Number of subblocks |
572 * @param numOfSbInMsg Number of subblocks |
569 * @param aCurrentMsgOffset Current msg offset |
573 * @param aCurrentMsgOffset Current msg offset |
629 * @return error value: Symbian error code |
633 * @return error value: Symbian error code |
630 */ |
634 */ |
631 TInt PnsPipeCreateReq( const TUint8 aPipeStateAfter ) const; |
635 TInt PnsPipeCreateReq( const TUint8 aPipeStateAfter ) const; |
632 |
636 |
633 /** |
637 /** |
634 * Creates PnsPipeEnableReq ISI message and sends it to Phonet. |
|
635 * @return error value: Symbian error code |
|
636 */ |
|
637 TInt PnsPipeEnableReq() const; |
|
638 |
|
639 /** |
|
640 * Creates PnsPipeResetReq ISI message and sends it to Phonet. |
|
641 * @param aStateAfterReset: pipe state after reset |
|
642 * @return error value: Symbian error code |
|
643 */ |
|
644 TInt PnsPipeResetReq( const TUint8 aStateAfterReset ); |
|
645 |
|
646 /** |
|
647 * Creates PnsPipeRemoveReq ISI message and sends it to Phonet. |
638 * Creates PnsPipeRemoveReq ISI message and sends it to Phonet. |
648 * @return error value: Symbian error code |
639 * @return error value: Symbian error code |
649 */ |
640 */ |
650 TInt PnsPipeRemoveReq(); |
641 TInt PnsPipeRemoveReq(); |
651 |
642 |
652 /** |
643 /** |
653 * Creates PnsPipeRedirectReq ISI message and sends it to Phonet. |
644 * PnsPipeCreate response. |
654 * @return error value: Symbian error code |
|
655 */ |
|
656 TInt PnsPipeRedirectReq(); |
|
657 |
|
658 /** |
|
659 * PnsPipeCreate response. |
|
660 * @param aIsiMessage, reference to the received message. |
645 * @param aIsiMessage, reference to the received message. |
661 * @return void |
646 * @return void |
662 */ |
647 */ |
663 void PnsPipeCreateResp( const TIsiReceiveC &aIsiMessage ); |
648 void PnsPipeCreateResp( const TIsiReceiveC &aIsiMessage ); |
664 |
649 |
665 /** |
650 /** |
666 * PnsPipeEnable response. |
651 * PnsPipeRemove response. |
667 * @param aIsiMessage, reference to the received message. |
652 * @param aIsiMessage, reference to the received message. |
668 * @return void |
653 * @return void |
669 */ |
654 */ |
670 void PnsPipeEnableResp( const TIsiReceiveC& aIsiMessage ); |
|
671 |
|
672 /** |
|
673 * PnsPipeReset response. |
|
674 * @param aIsiMessage, reference to the received message. |
|
675 * @return void |
|
676 */ |
|
677 void PnsPipeResetResp( const TIsiReceiveC& aIsiMessage ); |
|
678 |
|
679 /** |
|
680 * PnsPipeRemove response. |
|
681 * @param aIsiMessage, reference to the received message. |
|
682 * @return void |
|
683 */ |
|
684 void PnsPipeRemoveResp( const TIsiReceiveC& aIsiMessage ); |
655 void PnsPipeRemoveResp( const TIsiReceiveC& aIsiMessage ); |
685 |
|
686 /** |
|
687 * PnsPipeRedirect response. |
|
688 * @param aIsiMessage, reference to the received message. |
|
689 * @return void |
|
690 */ |
|
691 void PnsPipeRedirectResp( const TIsiReceiveC& aIsiMessage ); |
|
692 |
656 |
693 public: // Data |
657 public: // Data |
694 // None |
658 // None |
695 |
659 |
696 protected: // Data |
660 protected: // Data |
796 // i.e. while GPDS contexts are being closed. |
760 // i.e. while GPDS contexts are being closed. |
797 TBool iEmergCallDelayed; |
761 TBool iEmergCallDelayed; |
798 |
762 |
799 // Video call connected or disconnected |
763 // Video call connected or disconnected |
800 TUint8 iVideoCallStatus; |
764 TUint8 iVideoCallStatus; |
801 |
765 |
802 // bearer rate for multimedia call |
766 // bearer rate for multimedia call |
803 TUint8 iDataRateCode; |
767 TUint8 iDataRateCode; |
804 |
768 |
805 // Call direction |
769 // Call direction |
806 RMobileCall:: TMobileCallDirection iCallDirection; |
770 RMobileCall:: TMobileCallDirection iCallDirection; |
807 |
771 |
808 // Mobile call info |
772 // Mobile call info |
809 RMobileCall::TMobileCallInfoV1 iMobileCallInfo; |
773 RMobileCall::TMobileCallInfoV1 iMobileCallInfo; |
810 |
774 |
811 // Is call multimedia/video call |
775 // Is call multimedia/video call |
812 TBool iIsMultimedia; |
776 TBool iIsMultimedia; |
813 |
777 |
814 // Is current call a waiting call |
778 // Is current call a waiting call |
815 TBool iIsWaitingCall; |
779 TBool iIsWaitingCall; |
816 |
780 |
817 // Pipe handle for video/multimediacall |
781 // Pipe handle for video/multimediacall |
818 TUint8 iPipeHandle; |
782 TUint8 iPipeHandle; |
819 |
783 |
820 TUint8 iSecondPepDeviceId; |
|
821 TUint8 iSecondPepObjectId; |
|
822 |
|
823 // Call Operation ID |
784 // Call Operation ID |
824 TUint8 iCallOperationID; |
785 TUint8 iCallOperationID; |
825 |
786 |
826 // Video call mt released |
787 // Video call mo/mt released |
827 TBool iVideoCallMtReleased; |
788 TBool iVideoCallReleased; |
|
789 |
|
790 // CALL_ID of the call controlled request |
|
791 TUint8 iCallControlCallId; |
|
792 |
|
793 // call control result |
|
794 TUint8 iCcResult; |
828 |
795 |
829 public: // Friend classes |
796 public: // Friend classes |
830 // None |
797 // None |
831 protected: // Friend classes |
798 protected: // Friend classes |
832 // Nnone |
799 // Nnone |