Skip to content

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