Skip to content

No timeout on "connect" #414

@mikerob

Description

@mikerob

It appears that there's no timeout for the "connect" function. If you try to connect to a serial port that exists but is not actually connected to a vehicle, it just hangs.

On the RasPi, I'm conecting to the Pixhawk via USB, so it's /dev/ttyACM0. The RasPi has a built in serial port at ttyAMA0. If you "Connect('/dev/ttyAM0')" it hangs, presumably because it's a valid port so it thinks it can read, but never gets valid data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions