["AT+CSTT=\"apn.net\", \"\", \"\"\r\n"
] "\r\nOK"
] "\r\n"
["AT+CIICR\r\n"
] "\r\nO"
] "K\r\n"
["AT+CIFSR\r\n"
] "\r\n"
] "ip.ip.ip.ip\r\n"
["AT+CIPSTART=0,\"TCP\",\"fake.server.com\",80\r\n"
] "\r\nOK\r\n"
Uncaught Error: 0, CONNECT OK already registered
at line 1 col 44
if(h[a])throw Error(a+" already registered");h[a]=b
^
in function "registerLine" called from line 1 col 174
...CONNECT FAIL'),socks[a]=!0}),at.registerLine(a+', CONNECT FA...
^
in function "c" called from line 1 col 25
g=void 0;var b;c&&(b=c(a))?(g=e,c=b):clearTimeout(d);void 0=...
^
in function "g" called from line 2 col 4
g(f)}b=b.substr(a+1);if(p&&d)return q("");"\n"==b[0]&&(b=b.s...
^
in function called from system
] "\r\n0, CONNEC"
] "T OK\r\n"
] "\r\n> "
] "\r\n0, SE"
] "ND OK\r\n\r\n+RECEIVE,0,159:\r\nHTTP/1.1 200 OK\r\nConnection: close\r\nDate: Mon, 18 Jan 2021 15:47:55 GMT\r\nContent-Type: application/json; charset="
["AT+CIPCLOSE=0,1\r\n"
] "\r\n0, CLOSE OK\r\n"
["AT+CIPSTART=0,\"TCP\",\"fake.server.com\",80\r\n"
] "\r\nOK\r\n"
] "\r\n0,"
] " CONNECT OK\r\n"
] "\r\n> "
] "\r\n0, SEN"
] "D OK\r\n\r\n+RECEIVE,0,159:\r\nHTTP/1.1 200 OK\r\nConnection: close\r\nDate: Mon, 18 Jan 2021 15:48:08 GMT\r\nContent-Type: application/json; charset=u"
["AT+CIPCLOSEE=0,1\r\n"
] "\r\n0, CLOSE OK\r\n"
] "\r\n"
] "SHUT OK\r\n"
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.
Hi,
I'm still getting the error, this is how it looks using the second scenario when
at.debug
enabledAnd then after 10 minutes
Thank you