3 Replies Latest reply: Mar 17, 2011 8:46 AM by Sara Brown RSS

GPRS connection teardown

Newbie

Hi

We are using a Wavecom Fasttrack Supreme radio to connect via GPRS to a remote server.

Connection works fine - commands are:
at+wipcfg=1
at+wipbr=1,6
at+wipbr=2,6,11,“nnnn”
at+wipbr=4,6,0
at+wipcreate=2,1,“IP_Addr.com”,prot#
at+wipdata=2,1,2

The problem is in disconnecting.

We use the:

at+wipclose=2,1 command

followed by a 10 second delay

followed by radio power down.

 

The server disconnects BUT the GPRS service (PDP context??) stays open.
What are we missing? Thoughts would be appreciated

 

Thanks

Jim

  • Re: GPRS connection teardown
    Newbie

    Hi Jim,

       Couple of questions:

    • In manual, the format of WIPCLOSE takes only two arguments, not three. Any reason for that?
    • Are you saying that even after the radio is down, network side has opened PDP CONTEXT? How are you checking this information?
    • Have you tried the WIPBR command to stop the bearer (cmd type: 5) after the WIPCLOSE command?
    • Have you issued '+++' command in your sequence? If so, at what point?

     

    Thanks,
    Rakesh

  • Re: GPRS connection teardown
    Newbie

    A friend from Connected Development suggests:

     

    Sounds like he needs to stop the Bearer.

     

    He needs to issue this command at the end of what he is already doing:

    at+wipbr=5,6

     

    Optionally, at the end of that, he can close the IP stack in the modem with:

    at+wipcfg=0

  • Re: GPRS connection teardown
    Newbie

    Thanks Sara and Karesh,

     

    This particular project is going thru Numerex. They flagged the issue of leaving the PDP context open as something we should look at.

     

    I did some testing with bearer stop and close earlier this week. I got word yesterday that the bearer stop and close worked.

     

    So now I am adding firmware to implement and have run into another problem.

     

    When I issue the +++ sequence and before I issue a wipclose I get back either:

         "Ok"

         or

         "CME ERROR: 843" followed by "+WIPPEERCLOSE: 2,1"

     

    When I see the CME error message after the +++ all works well. The wipclose followed by the wipbr commands respond ok

    If I see the "OK" after the +++ the wipclose and wipbr coommands return "ERROR"

     

    ?

    Thanks again

    Jim