Skip to content

Change baudrate for prolific host class #112

@PiPointX

Description

@PiPointX

Is your feature request related to a problem? Please describe.
I'm using a prolific PL2303 and I would like to set the baudrate to 921600. I've seen that in the file ux_host_class_prolific.h the default-value is set to 19200 with a define. But with no possibility to change.

Describe the solution you'd like
It would be best, if the baudrate could be set with a define in the ux_user.h. Therefor in ux_host_class_prolific.h only the following has to be made:

#ifndef UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_RATE
#define UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_RATE 19200
#endif

Then in ux_user.h the define UX_HOST_CLASS_PROLIFIC_LINE_CODING_DEFAULT_RATE could be set by the user

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature or enhancement request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions