Skip to content

Using websocketserver with UNO R4 WIFI #930

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
srhgrs opened this issue Jan 15, 2025 · 2 comments
Open

Using websocketserver with UNO R4 WIFI #930

srhgrs opened this issue Jan 15, 2025 · 2 comments

Comments

@srhgrs
Copy link

srhgrs commented Jan 15, 2025

'm using an Arduino Uno R4 Wi-Fi (ESP32 S3) as a WebSocket server to communicate with a ROS2 client. The client connects successfully but immediately gets disconnected after the connection, even though there is no other client attempting to connect.

The server logs "client 0 connected", but then it logs "client 1 disconnected". Despite the successful connection, no messages are received from the client. I need to precise that my client works with another websockets server, then the issue seems to not be due to the client.

I’ve added debug prints in the webSocketEvent function but am unable to resolve the issue. Any help in understanding why there is another client that is disconnects right after connecting my client and how to ensure the server properly receives messages would be appreciated.

Thanks!

@kakopappa
Copy link
Contributor

@srhgrs
Copy link
Author

srhgrs commented Jan 15, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants