How are RTSEnable
and DtrEnable
used? I am finding that some balances can communicate with my app but others can't even though the settings match. (baud rate, parity, data bits, stop bits and handshake)
The serial port settings are saved in the configurations file and the idea is to support different combinations of the possible settings, if needed. Normally, our devices are programmed to have handshake = NONE
, but in case some odd device can't have handshake=NONE
, should I insert a condition such as:
if (serialport.Handshake != NONE) {
serialport.RTSEnable = true;
serialport.DtrEnable = true;
}
Or rather, will other handshakes (other than NONE
) work without RTSEnable
and DtrEnable
being set to true
?