cbsatplugin/atmisccmdplugin/inc/atmisccmdplugin.h
branchRCL_3
changeset 72 4b59561a31c0
parent 54 0ba996a9b75d
equal deleted inserted replaced
64:1934667b0e2b 72:4b59561a31c0
    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;
       
    90 
    83 
    91     /**
    84     /**
    92      * Returns plugin's character value settings (from CATExtPluginBase)
    85      * Returns plugin's character value settings (from CATExtPluginBase)
    93      *
    86      *
    94      * @param aCharType Character's type
    87      * @param aCharType Character's type
   142                                  const TDesC8& aSrcBuffer=KNullDesC8,
   135                                  const TDesC8& aSrcBuffer=KNullDesC8,
   143                                  TInt aError=KErrNone );
   136                                  TInt aError=KErrNone );
   144 
   137 
   145     virtual TInt CreateOkOrErrorReply( RBuf8& aReplyBuffer,
   138     virtual TInt CreateOkOrErrorReply( RBuf8& aReplyBuffer,
   146                                TBool aOkReply );
   139                                TBool aOkReply );
   147 
       
   148     virtual TInt CreateEditModeBuffer( RBuf8& aReplyBuffer );
       
   149     virtual void CreateCMSReplyAndComplete(TInt aError);
       
   150 
       
   151     virtual void CreateCMEReplyAndComplete(TInt aError);
   140     virtual void CreateCMEReplyAndComplete(TInt aError);
   152     virtual TInt GetCharacterValue( TCharacterTypes aCharType, TChar& aChar );
   141     virtual TInt GetCharacterValue( TCharacterTypes aCharType, TChar& aChar );
   153     virtual TInt GetModeValue( TModeTypes aModeType, TBool& aMode );    
   142     virtual TInt GetModeValue( TModeTypes aModeType, TBool& aMode );    
   154     virtual TInt HandleUnsolicitedRequest(const TDesC8& aAT );
   143     virtual TInt HandleUnsolicitedRequest(const TDesC8& aAT );
   155     
   144     
   157     CATMiscCmdPlugin();
   146     CATMiscCmdPlugin();
   158     void ConstructL();
   147     void ConstructL();
   159     
   148     
   160     TInt CreatePartOfReply( RBuf8& aBuffer );
   149     TInt CreatePartOfReply( RBuf8& aBuffer );
   161     void HandleCMEECommand();
   150     void HandleCMEECommand();
   162     void HandleCMGFCommand();
   151     
   163 
       
   164     /*
   152     /*
   165      * Utility function that connect to Etel server and establish a subsession to RMobilePhone
   153      * Utility function that connect to Etel server and establish a subsession to RMobilePhone
   166      * Caller must close session and subsession after use.
   154      * Caller must close session and subsession after use.
   167      * @param aTelServer returns session to ETel
   155      * @param aTelServer returns session to ETel
   168      * @param aPhone returns RMobilePhone subsession
   156      * @param aPhone returns RMobilePhone subsession
   185     CATCmdAsyncBase* iCPINHandler;
   173     CATCmdAsyncBase* iCPINHandler;
   186     CATCmdSyncBase* iCUSDHandler;
   174     CATCmdSyncBase* iCUSDHandler;
   187     CATCmdAsyncBase* iCNUMHandler;
   175     CATCmdAsyncBase* iCNUMHandler;
   188     CATCmdAsyncBase* iCFUNHandler;
   176     CATCmdAsyncBase* iCFUNHandler;
   189     CATCmdAsyncBase* iCBCHandler;
   177     CATCmdAsyncBase* iCBCHandler;
   190 
   178     
   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  
       
   202     /**
   179     /**
   203      * Buffer for handle command's command
   180      * Buffer for handle command's command
   204      * Not own.
   181      * Not own.
   205      */
   182      */
   206     const TDesC8* iHcCmd;
   183     const TDesC8* iHcCmd;