Skip to content

Serial port reconnection / connection-status control #382

Description

@MikGind

When using a serial connection, if the machine is rebooted, reset, disconnected, or otherwise temporarily drops the serial connection, Rayforge does not apparently automatically reconnect when the machine becomes available again.

Currently, I need to open the connection settings, select a different COM port or "None", and then reselect the correct COM port to establish the connection again.

The configured COM port also remains shown/selected even when the port or machine is no longer actually available. I understand that Rayforge cannot maintain a connection while the device is unavailable, but it would be very helpful if it could detect when the configured device becomes available again and reconnect.

Suggested improvements:

  • Periodically re-poll a disconnected configured serial port (perhaps every 5 seconds) and attempt reconnection when it becomes available again. A successful reconnection could reasonably be treated as a controller reset/restart.
    And/or
  • add a connection-status button to the toolbar showing the current connection state:
    Left-click: Connect / Disconnect
    Right-click: Select from currently available serial ports

This would make recovery from controller resets, USB disconnects, firmware restarts, etc. considerably easier without repeatedly going through the machine configuration menu.

Thank you!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrca-doneA root cause analysis was attached

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions