Skip to content

Websocket client on STM32 board <--> websocket server on raspberry pi #2992

Discussion options

You must be logged in to vote

Please take the time to learn the technology you are using.
Please read the tutorials again, understand them, do the examples as suggested; we never access a WebSocket server with an HTTP client, thing you are doing.
A WebSocket server "upgrades" an HTTP connection, that is what you are seeing because you are not using a WebSocket client (thing we do in our tutorials; in fact, there is a JS client in the server example https://github.com/cesanta/mongoose/blob/master/tutorials/websocket/websocket-server/test.html and there is an indication in the tutorial to use it)

See detailed tutorial at https://mongo…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by scaprile
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants