Problem on TCP/UDP with Huawei MC509-a module

Home Forums M2M Support Forum Problem on TCP/UDP with Huawei MC509-a module

This topic contains 0 replies, has 1 voice, and was last updated by  Hel Kumar Shrestha 4 months, 1 week ago.

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #21192 Reply

    Hel Kumar Shrestha

    I have tried the following AT command with reply

    AT
    OK

    AT^IPINIT=”ntnet”,”9741XXXXXX”,”9741XXXXXX”
    OK

    AT^IPINIT?
    ^IPINT: 1,”10.73.1.40″,”ntnet”,”202.70.64.224″,”202.70.64.195″
    OK

    AT^IPOPEN=1,”TCP”,”www.m2msupport.net”,80
    Ok

    AT^IPSEND=1,”
    GET /m2msupport/http_get_test.php HTTP/1.1 Host:www.m2msupport.net Connection:keep-alive”

    ^IPSEND:1
    OK

    while i tried with my server it gives following reply

    AT^IPOPEN=2,”TCP”,”110.44.114.247″,80
    OK

    AT^IPSEND=2,”GET /twlms HTTP/1.1 Host:110.44.114.247 Connection:keep-alive”
    ^IPSEND: 2
    OK

    ^IPDATA: 1,490,HTTP/1.1 400 Bad Request
    Content-Type: text/html; charset=us-ascii
    Server: Microsoft-HTTPAPI/2.0
    Date: Mon, 11 Mar 2019 07:39:37 GMT
    Connection: close
    Content-Length: 311

    <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN””http://www.w3.org/TR/html4/strict.dtd”>
    <HTML><HEAD><TITLE>Bad Request</TITLE>
    <META HTTP-EQUIV=”Content-Type” Content=”text/html; charset=us-ascii”></HEAD>
    <BODY><h2>Bad Request</h2>
    <hr><p>HTTP Error 400. The request is badly formed.</p>
    </BODY></HTML>

    I had followed the m2msupport TCP/UDP testing
    pleased help me out of this
    Thank you.

Viewing 1 post (of 1 total)
Reply To: Problem on TCP/UDP with Huawei MC509-a module
Your information: