cbsatplugin/atmisccmdplugin/inc/atmisccmdplugin.h
branchRCL_3
changeset 54 0ba996a9b75d
parent 35 95674584745d
child 72 4b59561a31c0
equal deleted inserted replaced
53:eede1356aa52 54:0ba996a9b75d
    78     /*
    78     /*
    79      * Complete the AT command request with AT CME error code according to given Symbian error code
    79      * Complete the AT command request with AT CME error code according to given Symbian error code
    80      * @param aError Symbian error code 
    80      * @param aError Symbian error code 
    81      */
    81      */
    82     virtual void CreateCMEReplyAndComplete(TInt aError) = 0;
    82     virtual void CreateCMEReplyAndComplete(TInt aError) = 0;
       
    83 
       
    84     /*
       
    85      * Complete the AT command request with AT CMS error code according to given Symbian error code
       
    86      * @param aError Symbian error code 
       
    87      */
       
    88     
       
    89     virtual void CreateCMSReplyAndComplete(TInt aError) = 0;
    83 
    90 
    84     /**
    91     /**
    85      * Returns plugin's character value settings (from CATExtPluginBase)
    92      * Returns plugin's character value settings (from CATExtPluginBase)
    86      *
    93      *
    87      * @param aCharType Character's type
    94      * @param aCharType Character's type
   135                                  const TDesC8& aSrcBuffer=KNullDesC8,
   142                                  const TDesC8& aSrcBuffer=KNullDesC8,
   136                                  TInt aError=KErrNone );
   143                                  TInt aError=KErrNone );
   137 
   144 
   138     virtual TInt CreateOkOrErrorReply( RBuf8& aReplyBuffer,
   145     virtual TInt CreateOkOrErrorReply( RBuf8& aReplyBuffer,
   139                                TBool aOkReply );
   146                                TBool aOkReply );
       
   147 
       
   148     virtual TInt CreateEditModeBuffer( RBuf8& aReplyBuffer );
       
   149     virtual void CreateCMSReplyAndComplete(TInt aError);
       
   150 
   140     virtual void CreateCMEReplyAndComplete(TInt aError);
   151     virtual void CreateCMEReplyAndComplete(TInt aError);
   141     virtual TInt GetCharacterValue( TCharacterTypes aCharType, TChar& aChar );
   152     virtual TInt GetCharacterValue( TCharacterTypes aCharType, TChar& aChar );
   142     virtual TInt GetModeValue( TModeTypes aModeType, TBool& aMode );    
   153     virtual TInt GetModeValue( TModeTypes aModeType, TBool& aMode );    
   143     virtual TInt HandleUnsolicitedRequest(const TDesC8& aAT );
   154     virtual TInt HandleUnsolicitedRequest(const TDesC8& aAT );
   144     
   155     
   146     CATMiscCmdPlugin();
   157     CATMiscCmdPlugin();
   147     void ConstructL();
   158     void ConstructL();
   148     
   159     
   149     TInt CreatePartOfReply( RBuf8& aBuffer );
   160     TInt CreatePartOfReply( RBuf8& aBuffer );
   150     void HandleCMEECommand();
   161     void HandleCMEECommand();
   151     
   162     void HandleCMGFCommand();
       
   163 
   152     /*
   164     /*
   153      * Utility function that connect to Etel server and establish a subsession to RMobilePhone
   165      * Utility function that connect to Etel server and establish a subsession to RMobilePhone
   154      * Caller must close session and subsession after use.
   166      * Caller must close session and subsession after use.
   155      * @param aTelServer returns session to ETel
   167      * @param aTelServer returns session to ETel
   156      * @param aPhone returns RMobilePhone subsession
   168      * @param aPhone returns RMobilePhone subsession
   173     CATCmdAsyncBase* iCPINHandler;
   185     CATCmdAsyncBase* iCPINHandler;
   174     CATCmdSyncBase* iCUSDHandler;
   186     CATCmdSyncBase* iCUSDHandler;
   175     CATCmdAsyncBase* iCNUMHandler;
   187     CATCmdAsyncBase* iCNUMHandler;
   176     CATCmdAsyncBase* iCFUNHandler;
   188     CATCmdAsyncBase* iCFUNHandler;
   177     CATCmdAsyncBase* iCBCHandler;
   189     CATCmdAsyncBase* iCBCHandler;
   178     
   190 
       
   191     // TDSCDMA only
       
   192 	CATCmdSyncBase* iHVERHandler;
       
   193     CATCmdSyncBase* iCGSNHandler;
       
   194     CATCmdSyncBase* iCGMRHandler;
       
   195     CATCmdSyncBase* iCGMIHandler;
       
   196     CATCmdAsyncBase* iCMGWHandler;
       
   197     CATCmdAsyncBase* iCMGDHandler;
       
   198     CATCmdSyncBase* iCGMMHandler;
       
   199 	CATCmdAsyncBase* iSCPBRHandler;
       
   200     CATCmdAsyncBase* iSCPBWHandler;
       
   201  
   179     /**
   202     /**
   180      * Buffer for handle command's command
   203      * Buffer for handle command's command
   181      * Not own.
   204      * Not own.
   182      */
   205      */
   183     const TDesC8* iHcCmd;
   206     const TDesC8* iHcCmd;