DE910-DUAL HTTPRCV — hangs at end of receiving file

2 thoughts on “DE910-DUAL HTTPRCV — hangs at end of receiving file

  1. Greetings,

    I am able to transfer all of the data in a file residing on our HTTP server.  When I reach the end of the file, I get no indication from the DE910-DUAL module that the transmission is complete.  The module hangs and I have to cycle power to get it to come back to life. 

     

    Here is an exact copy of the exchange between my application and the DE910 (except for the server name and full path and file name to protect the innocent):

     

    AT#HTTPCFG=0
    OK
    AT#HTTPCFG=1
    OK
    AT#HTTPCFG?
    #HTTPCFG: 0,””,80,0,””,”******”,0,120,1
    #HTTPCFG: 1,””,80,0,””,”******”,0,120,1
    #HTTPCFG: 2,”m2mlocate.telit.com”,9978,0,””,”******”,0,120,1
    OK
    AT#CDMADC=1
    +IP: “”
    OK
    AT#CDMADC=?
    #CDMADC: (0,1)
    OK
    AT#HTTPCFG=1,,80,
    OK
    AT#HTTPCFG?
    #HTTPCFG: 0,””,80,0,””,”******”,0,120,1
    #HTTPCFG: 1,””,80,0,””,”******”,0,120,1
    #HTTPCFG: 2,”m2mlocate.telit.com”,9978,0,””,”******”,0,120,1
    OK
    AT#HTTPQRY=1,1,””
    OK
    #HTTPRING: 1,200,””,0
    AT#HTTPRCV=1
    Content-Length: 10465
    Content-Type: application/x-zip-compressed
    Last-Modified: Mon, 24 Nov 2014 19:18:12 GMT
    Accept-Ranges: bytes
    ETag: “d29abf631b8d01:0”
    Server: Microsoft-IIS/7.0
    X-Powered-By: ASP.NET
    Date: Wed, 03 Dec 2014 21:09:27 GMT
    Connection: close
    OK
    AT#HTTPQRY=1,0,””
    OK
    #HTTPRING: 1,200,”application/x-zip-compressed”,10465
    AT#HTTPRCV=1

     

    Following the AT#HTTPRCV=1, the <<< answer appears followed by the data for the file I'm transferring.  But once all of the bytes have been transferred, nothing else happens.

     

    The file that is being sent is a binary file (it is a “zip” file).

    What am I missing?

     

    Thanks in advance.

    M.Dupont