×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    10

    Packet Data connection Problems

    Hi,
    I have a MIDlet which communicates with server over GPRS every 5 mins using HTTPConnection (state less protocol) API and is expected to do so uninterrupted for days. Problem is that after 4 - 5 hours the requests stop coming to the server.

    Findings:
    1. Initially I thought that there no GPRS connectivity, but what I found out was; if I restart my MIDlet and try to connect it can establish the connection and things work fine.
    2. If I wait in that "no connection" state and keep my MIDlet running, it reconnects with the server after a gap of 4 - 5 hours .

    I am trying to find out how to notify the system (S40 device which I am using) to establish a new Packet Data connection instead of trying to use the existing one which it feels is "established" in such a situation.

  2. #2
    Registered User
    Join Date
    Mar 2008
    Posts
    10

    How to Control device GPRS session

    Hi guys,
    May be my question wasn't clear enough.

    What I am trying to solve is how to reconnect a idle GPRS session (by the phone). Because the only solution as of now is to shut my midlet and restart it. Here is what is happening in my midlet.

    1. My midlet send pings (HTTPConnection) to server every 2 mins.
    2. The above works fine for 3 - 4 hours after which the pings stop coming to the server. Now I can see the E (enclosed in the square) symbol on the cell phone.
    3. My guess is the operator OR my phone is disconnecting my underneath GPRS session.
    4. I have tried this out with various operators but this problem only occurs with a specific operator.
    5. If I restart my midlet things work fine.

    Let me know if you have any pointers to this problem.

    Regards,
    Yogesh

Similar Threads

  1. Sending PIM data over Http Connection
    By Patois in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2010-07-08, 15:14
  2. Problems with Receiving Data over bluetooth
    By gjmcnamara in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2008-05-01, 09:20
  3. Data connection & Python
    By DrYSG in forum Symbian
    Replies: 14
    Last Post: 2008-04-09, 10:55
  4. Nokia 6110 Navigator (Packet data connection not available)
    By mithooji in forum Wired and Wireless interfaces (Closed)
    Replies: 0
    Last Post: 2008-03-20, 09:54
  5. Data volume for open connection
    By rolloderwikinger in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2005-03-28, 10:03

Posting Permissions

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