The OnDTR event occurs when other application changes the DTR (data-terminal-ready) signal state.

OnDTR(

      BOOL On     // DTR signal state

);

 

Parameters:

On [out] : Determines the state of DTR signal. This parameter can be any of the following values:

ValueMeaning
TRUEDTR signal sent
FALSEDTR signal cleared

 

Tip: See also: OnRTS event