Maybe take a look in the socks array and check that the socket's state isn't wait or something. Also check sockData array to see if the data is getting sent in there.
If the ipdHandler/receiveHandler is working ok the the data should all go into sockData, and the recv function is then responsible for giving that to Espruino.
If you changed the text in ipdHandler, dod you change line.substring(5,colon) to line.substring(9,colon) as well? That could be important...
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.
Maybe take a look in the
socks
array and check that the socket's state isn'twait
or something. Also checksockData
array to see if the data is getting sent in there.If the
ipdHandler
/receiveHandler
is working ok the the data should all go intosockData
, and therecv
function is then responsible for giving that to Espruino.If you changed the text in
ipdHandler
, dod you changeline.substring(5,colon)
toline.substring(9,colon)
as well? That could be important...