Skip to content

Opening serial port feedback #37

Description

@SaeedAID

Dear Geoffrey

Before getting to the issue I would like to thank you for your well-written code and your effort.

Well I would like you to help me to have a better understanding of a scenario that could happen, imagine the port we are trying to open is not available or disconnected, there is no feedback on the opening port so the code would crash and stop.

Can we catch the error or does the code returns an integer or boolean on the port opening so we can check it? This could help us with diagnostic errors so we put it on the while loop until the port became available.

Best regards

Saeed

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