Thank you @Gordon! It's better now.
There is a similar bug with Uncaught Error: 0, SEND OK already registered
Uncaught Error: 0, SEND OK already registered
Here is 2 examples..
Example 1:
["AT+CIPSTART=0,\"TCP\",\"fake.server.com\",80\r\n"] "\r\nOK\r\n"] "\r\n0, CONNECT OK\n"] "\r\n0, CLOED\r\n"] "\r\nERROR\r\n"
["AT+CIPSTART=0,\"TCP\",\"fake.server.com\",80\r\n"
] "\r\nOK\r\n"
] "\r\n0, CONNECT OK\n"
] "\r\n0, CLOED\r\n"
] "\r\nERROR\r\n"
then every 10 minutes
["AT+CIPSTART=1,\"TCP\",\"fake.server.com\",80\r\n"] "\r\nOK\r\n"] "\r\n1, CONNECT OK\r\n"] "\r\n1, CLOSED\r\n"ERROR: {"code":-15,"message":"no response"}Uncaught Error: 0, SEND OK already registered at line 1 col 44if(h[a])throw Error(a+" already registered");h[a]=b ^in function "registerLine" called from line 1 col 254...+', SEND FAIL'),busy=!1,''}),at.registerLine(a+', SEND FAIL'... ^in function called from system
["AT+CIPSTART=1,\"TCP\",\"fake.server.com\",80\r\n"
] "\r\n1, CONNECT OK\r\n"
] "\r\n1, CLOSED\r\n"
ERROR: {"code":-15,"message":"no response"}
at line 1 col 44
if(h[a])throw Error(a+" already registered");h[a]=b
^
in function "registerLine" called from line 1 col 254
...+', SEND FAIL'),busy=!1,''}),at.registerLine(a+', SEND FAIL'...
in function called from system
when the sockets debug look like this
{ "socks": [ true ], "sockData": [ "", "", "", "", "", "0124": "undefined" ] }
{
"socks": [ true ],
"sockData": [
"",
"0124": "undefined"
]
}
Example 2:
["AT+CIPSTART=0,\"TCP\",\"fake.server.com\",80\r\n"] "\r\nOK\r\n"] "\r\n0, CONNECT OK\r\n"] "\r\n> "] "\r\n0, END OK\r\n"] "\r\n+RE"] "CEIVE,0,124:\r\nHTTP/1.1 408 Request Timeout\r\nConnection: close\r\nDate: Thu, 21 Jan 2021 14:32:35 GMT\r\nContent-Length: 0\r\n\r\n"] "\r\n, CLOSED\r"] "\n"
] "\r\n0, CONNECT OK\r\n"
] "\r\n> "
] "\r\n0, END OK\r\n"
] "\r\n+RE"
] "CEIVE,0,124:\r\nHTTP/1.1 408 Request Timeout\r\nConnection: close\r\nDate: Thu, 21 Jan 2021 14:32:35 GMT\r\nContent-Length: 0\r\n\r\n"
] "\r\n, CLOSED\r"
] "\n"
{ "socks": [ true, undefined ], "sockData": [ "", "", "", "", "" ] }
"socks": [ true, undefined ],
""
Thanks again.
@michael_101 started 4 years ago
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.
Thank you @Gordon! It's better now.
There is a similar bug with
Uncaught Error: 0, SEND OK already registered
Here is 2 examples..
Example 1:
then every 10 minutes
when the sockets debug look like this
Example 2:
then every 10 minutes
when the sockets debug look like this
Thanks again.