The OnDCD event occurs when the DCD signal state is changed.

OnDCD(
 BOOL On// DCD signal state
);


Parameters
On [in] Determines the state of DCD signal. This parameter can be any of the following values:

ValueMeaning
TRUEDCD signal is sent
FALSEDCD signal is cleared

 


See also

OnDSR event

OnRTS event

OnDTR event

OnDCD event

OnCTS event