Skip to content

Using websocketserver with UNO R4 WIFI #930

Open
@srhgrs

Description

@srhgrs

'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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions