Sure. Here is the output:
_____ _ | __|___ ___ ___ _ _|_|___ ___ | __|_ -| . | _| | | | | . | |_____|___| _|_| |___|_|_|_|___| |_| http://espruino.com 1v79.19 Copyright 2015 G.Williams >echo(0); Connecting to sim900a module ["ATE0\r\n" =undefined ] "A" <--- "A" ] "ATE0\r\n\r\nOK\r\n" <--- "TE0\r\n\r\nOK\r\n" ["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" <--- "\r" ] "\nOK\r\n" <--- "\nOK\r\n" ["AT+CSTT=\"pinternet.interkom.de\", \"\", \"\"\r\n" ] "\r" <--- "\r" ] "\nOK\r\n" <--- "\nOK\r\n" ["AT+CIICR\r\n" ] "\r" <--- "\r" ] "\nOK\r\n" <--- "\nOK\r\n" null ["AT+CIFSR\r\n" ] "\r" <--- "\r" ] "\n10.47.223.198\r\n" <--- "\n10.47.223.198\r\n" IP:10.47.223.198 ["AT+CIPSTART=0,\"TCP\",\"http://www.pur3.co.uk\",80\r\n" ] "\r\nOK\r\n" <--- "\r\nOK\r\n" ] "\r\n0, CONNE" <--- "\r\n0, CONNE" ] "0, CONNECT OK\r\n" <--- "CT OK\r\n" ["AT+CIPSEND=0,64\r\n" ] "\r\n> " <--- "\r\n> " ] "\r\n0" <--- "\r\n0" ] "0, SEND OK\r\n" <--- ", SEND OK\r\n" ["AT+CIPSEND=0,34\r\n" ] "\r\n> " <--- "\r\n> " ] "\r\n0, SEN" <--- "\r\n0, SEN" ] "0, SEND OK\r\n" <--- "D OK\r\n" ] "\r\n+RECEIVE" <--- "\r\n+RECEIVE" ] "+RECEIVE,0,289:\r\nHTTP/1.1 200 OK\r\nDate: Tue, 09 Jun 2015 11:07:06" <--- ",0,289:\r\nHTTP/1.1 200 OK\r\nDate: Tue, 09 Jun 2015 11:07:06" ] "+RECEIVE,0,239: GMT\r\nServer: Apache/2.2.14 (Ubuntu)\r\nLast-Modified: Fri, 15 Nov 2013 15:42:26 GMT" <--- " GMT\r\nServer: Apache/2.2.14 (Ubuntu)\r\nLast-Modified: Fri, 15 Nov 2013 15:42:26 GMT" ] "+RECEIVE,0,157:\r\nETag: \"c01036-d-4eb390b8a8d18\"\r\nAccept-Ranges: bytes\r\nContent-Length:" <--- "\r\nETag: \"c01036-d-4eb390b8a8d18\"\r\nAccept-Ranges: bytes\r\nContent-Length:" ] "+RECEIVE,0,86: 13\r\nVary: Accept-Encoding\r\nConnection: close\r\nContent-Type: text/plain\r\n\r\nHello World!\n" <--- " 13\r\nVary: Accept-Encoding\r\nConnection: close\r\nContent-Type: text/plain\r\n\r\nHello World!\n" Response: { "headers": { "Date": "Tue, 09 Jun 2015 11:07:06 GMT", "Server": "Apache/2.2.14 (Ubuntu)", "Last-Modified": "Fri, 15 Nov 2013 15:42:26 GMT", "ETag": "\"c01036-d-4eb390b8a8d18\"", "Accept-Ranges": "bytes", "Content-Length": "13", "Vary": "Accept-Encoding", "Connection": "close", "Content-Type": "text/plain" }, "httpVersion": "P/1.1 200 OK\r\nDate: Tue, 09 Jun 2015 11:07:06 GMT\r\nServer: Apache/2.2.14 (Ubuntu)\r\nLast-Modified: Fri, 15 Nov 2013 15:42:26 GMT\r\nETag: \"c01036-d-4eb390b8a8d18\"\r\nAccept-Ranges: bytes\r\nContent-Length: 13\r\nVary: Accept-Encoding\r\nConnection: close\r\nContent-Type: text/plain\r\n\r\nHello World", "statusCode": "\nHTTP/1.1", "statusMessage": "200 OK\r\nDate: Tue, 09 Jun 2015 11:07:06 GMT\r\nServer: Apache/2.2.14 (Ubuntu)\r\nLast-Modified: Fri, 15 Nov 2013 15:42:26 GMT\r\nETag: \"c01036-d-4eb390b8a8d18\"\r\nAccept-Ranges: bytes\r\nContent-Length: 13\r\nVary: Accept-Encoding\r\nConnection: close\r\nContent-Type: text/plain\r\n\r\nHello World" } --->Hello World ] "!\n\r\n" <--- "\r\n" ] "0, CLOSED\r\n" <--- "0, CLOSED\r\n" >
@net-tobi started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Sure. Here is the output: