Skip to content
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

Reconnection Issue #577

Open
yorodm opened this issue Oct 15, 2024 · 0 comments
Open

Reconnection Issue #577

yorodm opened this issue Oct 15, 2024 · 0 comments

Comments

@yorodm
Copy link

yorodm commented Oct 15, 2024

I'm running on a Debian Bullseye container. The container has access to a rfcomm device on the host and I'm using a listener to detect if the connection is closed to try and reconnect the device. This works well up to a point when the program gets several disconnection events in a row and then freezes while trying to reconnect.

The reconnection mechanism just calls closePort waits a few seconds and tries to call openPort again

Running jconsole remotely shows that there's a live thread running waitForEvent so I assume the listener it's still registered in the SerialPort instance.

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

1 participant