Hi:
I am a newbie to Websockets and would like to know why am I getting this error message 'ERROR: undefined' when I talk to my Websocket server running on an Arduino microcontroller:
{
WebSocket Test
CONNECTED at: 17:5(min:sec)
SENT: WebSocket rocks 2 - 17:5
RESPONSE: WebSocket rocks 2 - 17:5
Client sending close signal - 17:5
Close signal sent - 17:5
ERROR: undefined - 17:25
DISCONNECTED at: 17:25
} or see attached file 'Output.html'
Note:
[1] The arduino file: 'EchoMsg_01b.ino' is forked from 'WebSocketServer_Demo.ino'. Made it Ethernet based and to echo the data received.
[2] The client file 'websocket_My2.html' is forked from 'websocket.html ' at the bottom of the page. Adjusted the IP address and made it show event times.
[3] Running the server on an Arduino Mega 2560.
Thanks
EchoMsg_01b.ino (2.58 KB)
Server_Serial_Output.txt (398 Bytes)
websocket_My2.html.txt (2.39 KB)
Output.html.txt (3 KB)