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

Missing some NonDataEvents like FE (framing error), PE (parity error), OE (overrun error) #110

Open
SLeit opened this issue Sep 4, 2018 · 2 comments

Comments

@SLeit
Copy link

SLeit commented Sep 4, 2018

Dear all,
currently I'm trying to detect misconfigurations between sender and receiver especially different setting in communication parameters (parity, number data and stop bits).
Normally such a misconfiguration leads to events at the receiver site (SerialPortEvent.FE/PE/OE).
But in PJC these events are never created.
Looking into PureJavaSerialPort.java I found the method sendNonDataEvents() but only the events of the control lines (DSR, CTS, RI and CD) are created here.
Is it correct that the events FE, PE and OE are never created?
I compared PJC with RXTX and in RXTX the events are created as expected. So I'm wondering if this is a missing feature in PJC or if there are other limitations?
Thanks in advance and best regards

@nyholku
Copy link
Owner

nyholku commented Sep 6, 2018 via email

@SLeit
Copy link
Author

SLeit commented Sep 12, 2018

Nice to see that there is interest for that ;-)
So I will get in touch with the JTermios but I currently I have no idea how much time this will take.
If there is anyone whow has experience with the WinAPI (I think ClearCommError() is the keyword) so feel free to participate.
best regards

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

No branches or pull requests

2 participants