Skip to content

Conversation

pe-jot
Copy link

@pe-jot pe-jot commented Feb 23, 2021

fixes #315

On Windows systems, it seems to depend on the driver resp. serial port hardware if a simple call of EscapeCommFunction() is enough. If the fDtrControl or fRtsControl in the DCB is in the wrong state, it may fail to set it as desired.
see https://docs.microsoft.com/en-us/windows/win32/api/winbase/ns-winbase-dcb#members

Furthermore, I've tried to simplify the Linux version which allows to directly set/clear the bits with the ioctl() function, according to https://linux.die.net/man/4/tty_ioctl

@pe-jot pe-jot marked this pull request as draft August 28, 2023 18:41
@pe-jot pe-jot marked this pull request as ready for review August 28, 2023 18:42
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.

COM PTT on Windows not working (configuration issue)
1 participant