Open SLeit opened 6 years ago
On 4 Sep 2018, at 19.26, SLeit notifications@github.com wrote:
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
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
I guess we have to call this a missing feature. I'd be happy to get a pull request on that ;)
cheers Kusti
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
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