×

Discussion Board

Results 1 to 5 of 5
  1. #1
    Registered User
    Join Date
    Sep 2008
    Posts
    16

    how to use AT Commands to set call forwarding

    hi all:
    i am using AT commands to set call forwarding in my application, i can compile my application successful,but when i test it on NOKIA N73, it always failed, the system give me such a alarm:"can not execute the file for security reason", the following is my code:

    ---------------------------
    TRequestStatus readStatus;
    _LIT(KCsyName,"DATAPORT");
    _LIT(KDataPort,"DATAPORT::1");
    RCommServ commServer;
    RComm comm;

    User::LeaveIfError(commServer.Connect());
    User::LeaveIfError(commServer.LoadCommModule(KCsyName));
    User::LeaveIfError(comm.Open (commServer, KDataPort, ECommShared));

    // _LIT8(KWriteCommand, "AT+CGSN\r\n");
    // _LIT8(KWriteCommand, "AT+CUSD=?\r\n");
    _LIT8(KWriteCommand, "AT+CCFC=1,1,123456,,1,1234567,,15\r\n");

    TBuf8<1024> command(KWriteCommand);

    TRequestStatus writeStatus;
    comm.Write(writeStatus, command);
    User::WaitForRequest(writeStatus);

    comm.Close();
    commServer.Close();

    --------------------------------------
    i also tried the other 2 commands: "AT+CGSN\r\n" and "AT+CUSD=?", it still get same result, is there any mistake in my code? does any body know why? i am really need your help!

    look forward to your response

    best regards

  2. #2
    Super Contributor
    Join Date
    Jun 2006
    Location
    India
    Posts
    3,037

    Re: how to use AT Commands to set call forwarding

    Hi,

    Check the capability you need to run the AT command I think might be you need comDD capability.

  3. #3
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: how to use AT Commands to set call forwarding

    Or check the AT commands example from Wiki: http://wiki.forum.nokia.com/index.ph...T_Commands.zip

  4. #4
    Registered User
    Join Date
    Sep 2008
    Posts
    16

    Re: how to use AT Commands to set call forwarding

    hi yucca
    thanks for your great help first,
    you know , my code is nearly a copy from the file in the link which you told me. but according to the system's alarm: "can not execute the file for security reason", it seems the reason exist in my application's Signed Mode, as i had learnt from some Signed Mode related document that it doesn't support commDD capability while use Expressed Signed mode to sign appilication, but it is need to have this capability to execute AT Commands, so the system always give me this alarm, am i right?
    by the way,if i want to use commDD or NetworkControl capability, do i need to use other Sign Modes to sign my application? or any other method? can you do me another good favor?



    thanks for your great help again

  5. #5
    Nokia Developer Expert
    Join Date
    Mar 2003
    Location
    Lempäälä/Finland
    Posts
    29,143

    Re: how to use AT Commands to set call forwarding

    you have to choose the signing method according to your capability requirements, thus you can not use open signed online with the capabilities required with the exmaple, also it will not work, if you don't specify the capabilities needed by the APIs used in it.

Similar Threads

  1. Data Call problem
    By mynick1000 in forum Symbian
    Replies: 7
    Last Post: 2009-01-09, 09:04
  2. Play .wav sound during Active call
    By so_sanjay in forum Symbian
    Replies: 3
    Last Post: 2008-08-29, 12:55
  3. Error while accepting an incoming call
    By yogesh14 in forum Symbian Networking & Messaging (Closed)
    Replies: 1
    Last Post: 2006-03-23, 03:55
  4. How to set call transfer in my application?
    By dantifer in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2003-12-21, 06:54
  5. Replies: 1
    Last Post: 2002-10-16, 07:29

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •