INtime SDK Help
ClearCommBreak (Serial Communications)
INtime SDK v7.1 > About INtime > Networking and I/O > Serial Communications (COMM) > ClearCommBreak (Serial Communications)

Restores character transmission for a specified communications device and places the transmission line in a nonbreak state.

BOOLEAN ClearCommBreak(
  COMMHANDLE hComm   // handle to communications device
);

Parameters

hComm
[in] Handle to the communications device. OpenComm returns this handle.

Return Values

Non-zero
Success.
0 (zero)
Failure. To determine the status, call GetLastRtError.

Status

E_DISCONNECTED
COMM channel is closed

Remarks

A communications device is placed in a break state by SetCommBreak or EscapeCommFunction. Character transmission suspends until the break state is cleared by calling ClearCommBreak.

Requirements

Versions Defined in Include Link to
INtime 3.1 intime/rt/include/comm.h comm.h comm.lib
See Also