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

mark/space parity and custom baudrates #47

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

perrypetiet
Copy link

@perrypetiet perrypetiet commented Oct 26, 2022

Added mark and space parity using the CMSPAR flag in combination with the PARODD flag. Added custom baudrate using the termios2 structure instead of the termios header. Added function to change the parity of a port given the device File and the parity. Added constants to set parity easier (example.. Parity_Even instead of 2).

I don't think it will conflict with the sample application, but maybe you can do something with these changes

Added mark and space parity using the CMSPAR flag in combination with the PARODD flag. Added custom baudrate using the termios2 structure instead of the termios header. Added function to change the parity of a port given the device File and the parity. Added constants to set parity easier (example.. Parity_Even instead of 2).
Added mark and space parity using the CMSPAR flag in combination with the PARODD flag. Added custom baudrate using the termios2 structure instead of the termios header. Added function to change the parity of a port given the device File and the parity. Added constants to set parity easier (example.. Parity_Even instead of 2).
@perrypetiet perrypetiet marked this pull request as ready for review October 26, 2022 10:39
@perrypetiet perrypetiet changed the title Perrypetiet patch 2 mark/space parity and custom baudrates Oct 26, 2022
parity is now also updated in the serialport class after calling the changeparity function
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

Successfully merging this pull request may close these issues.

1 participant