SKTD Issues

  • Hi,

    My legacy app, collects data and posts to a remote server. When it is ready to upload data to the server having already performed various housekeeping functions:


    AT#GPRS=1

    AT#SKTD=0,80,www.myremoterserver, 0

    I get the CONNECT response


    I then send a HTTP POST request:

    POST /post.php HTTP/1.1

    Host: www.myhost

    etc.


    via MDM.send


    I then send a '+++' sequence to close the socket.


    The app returns to the start of the loop and happens to check for SMS messages:


    AT+CMGF=1

    I don't get an 'OK' and it goes onto the next AT command

    AT+CNMI=2,1

    Here I don't get OK I get :


    HTTP/1.0 400 Bad request

    Cache-Control: no-cache

    Connection: close

    Content-Type: text/html


    <html><body><h1>400 Bad request</h1>

    Your browser sent an invalid request.

    </body></html>


    NO CARRIER


    Which implies the socket connection has timed out


    After that, any AT commands seem to execute correctly.


    All AT commands are send via MDM.send


    My '+++' sequence is bracked by time.sleep(3) .


    Is there a solution to this? Is there an explicit close socket?


    We are using the GE910-GNSS s/w revision 13.00.106


    Any adice would be much appreciated