You are reading a single comment by @net-tobi and its replies. Click here to read the full conversation.
  • Hello again,

    the entire at.debug() trace is the following:

     _____                 _
    |   __|___ ___ ___ _ _|_|___ ___
    |   __|_ -| . |  _| | | |   | . |
    |_____|___|  _|_| |___|_|_|_|___|
              |_| http://espruino.com
     1v80 Copyright 2015 G.Williams
    >echo(0);
    =undefined
    ["AT+CPIN?\r\n"
    ] "\r" <--- "\r"
    ] "\n+CPIN: READY\r\n\r\nOK\r\n" <--- "\n+CPIN: READY\r\n\r\nOK\r\n"
    ["AT+CGATT?\r\n"
    ] "\r" <--- "\r"
    ] "\n+CGATT: 1\r\n\r\nOK\r\n" <--- "\n+CGATT: 1\r\n\r\nOK\r\n"
    ["AT+CIPSHUT\r\n"
    ] "\r" <--- "\r"
    ] "\nSHUT OK\r\n" <--- "\nSHUT OK\r\n"
    ["AT+CIPSTATUS\r\n"
    ] "\r" <--- "\r"
    ] "\nOK\r\n\r\nSTATE: IP INITIAL\r\n" <--- "\nOK\r\n\r\nSTATE: IP INITIAL\r\n"
    ["AT+CIPMUX=1\r\n"
    ] "\r" <--- "\r"
    ] "\nOK\r\n" <--- "\nOK\r\n"
    ["AT+CIPHEAD=1\r\n"
    ] "\r\n" <--- "\r\n"
    ] "OK\r\n" <--- "OK\r\n"
    ["AT+CSTT=\"pinternet.interkom.de\", \"\", \"\"\r\n"
    ] "\r" <--- "\r"
    ] "\nOK\r\n" <--- "\nOK\r\n"
    ["AT+CIICR\r\n"
    ] "\r\n" <--- "\r\n"
    ] "OK\r\n" <--- "OK\r\n"
    null
    ["AT+CIFSR\r\n"
    ] "\r" <--- "\r"
    ] "\n10.50.96.30\r\n" <--- "\n10.50.96.30\r\n"
    IP:10.50.96.30
    ["AT+CIPSTART=0,\"TCP\",\"http://www.pur3.co.uk\",80\r\n"
    ] "\r\nOK\r\n" <--- "\r\nOK\r\n"
    ] "\r\n0" <--- "\r\n0"
    ] "0, CONNECT OK\r\n" <--- ", CONNECT OK\r\n"
    ["AT+CIPSEND=0,64\r\nGET /hello.txt HTTP/1.0\r\nUser-Agent: Espruino 1v80\r\nConnection: "
    ] "\r\n> " <--- "\r\n> "
    ["AAT+CIPSEND=0,31\r\nclose\r\nHost: http://www.pur3.co.uk\r\n\r\n"
    ] "> \r\n0, CLOSE" <--- "\r\n0, CLOSE"
    ] "0, CLOSED\r\n\r\nERROR\r\n" <--- "D\r\n\r\nERROR\r\n"
    ["AT+CIPCLOSE=0\r\n"
    ] "\r\n" <--- "\r\n"
    ] "ERROR\r\n" <--- "ERROR\r\n"
    >
    
About

Avatar for net-tobi @net-tobi started