SetCommBreak

int SetCommBreak(idComDev)

int idComDev; /* Device to interrupt communication */

The SetCommBreak function is used to interrupt character transmission and set the communication device to the break state.

<Parameter >

idComDev: Specifies the communication device to be interrupted. The OpenComm function returns this value.

<Return value >

Returns zero if the function is terminated normally. Otherwise a value less than zero will be returned.

Note:

The communication device continues to be interrupted until the application calls the ClearCommBreak function.

Note on IrDA:

The SetCommBreak function will operate only if 9-Wire or 3-Wire connection is established. It will not function if 3-Wire RAW connection is established. If this is the case, the SetCommBreak function will be terminated normally.

125

Page 125
Image 125
Casio IT-2000W manual SetCommBreak