Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Unable PinChanged event with EventType of Break never generated

$
0
0

Hi MSDN,

I have two com ports communicating with each other. If I write to one, the DataReceived event is generated on the other, and vice versa.

This is all as expected.

However, when I set the BreakState to true on one end, I was expecting a PinChanged event to be generated with EventType being break. This event is never generated. Instead, I receive a Ring Events.

In another loopback test, I have the transmission and receive wires of the COM port wired together. (See attached picture.) Every character I write gets returned via the DataReceived event. However, setting the BreakState to true generates CtsChanged, CDChanged and Ring events in that order. No Break!



Viewing all articles
Browse latest Browse all 8156


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>