-
Notifications
You must be signed in to change notification settings - Fork 119
Socket Connection Demo Hangs on "H" #7
Comments
I have the same problem. I have narrowed it down to the analyserequest method in websocketserver.cpp. Once the header "upgrade: websocket" is recieved, serial.print prints out garbage. Im still digging. |
Hi Mattfelsen, what code were you running on the server side? this the output which I am getting stuck at: There is no response after that. Any idea what may be going wrong? |
Like Mattfelsen said, the program is still running, it just looks like it On Mon, Feb 8, 2016 at 7:08 PM, deepika [email protected] wrote:
|
@deepikavira It was just a simple websocket echo server written with node.js and ws. Did you try changing the serial port baud rate (both in the code and in the Arduino IDE serial monitor window)? |
@mattfelsen thanks for the quick response. I did reduce the baud rate to 9600 but still no luck with the serial monitor. Anyway I think I will try giving it some functionality after the handshake and see if that works. @creation9 thanks for your quick response as well. |
@deepikavira If you're having trouble with this library, there's another arduino websocket server/client lib for esp8226 here: https://github.com/Links2004/arduinoWebSockets I haven't tried it myself, but could be helpful if you're stuck |
+1 |
Was facing a similar problem.. // capture the value of analog 1, send it along
Remove or comment-out the lines as shown above, put a string in 'data' variable and set the baud to 230400 and it works like charm.. |
Based on @sfa1906's findings, thought I'd share my experience with this issue. |
jthiller, you are my savior |
Hey there,
Thanks so much for your work on this. I'm getting the following message in my serial console when trying to run the demo, seems like it's connecting but then crashing shortly after? Log is as follows:
Connecting to ****
...
WiFi connected
IP address:
10.10.10.106
Connected
Waiting...
H�
The text was updated successfully, but these errors were encountered: