Casio IT-2000 PDAs & Smartphones User Manual


 
111
ClearCommBreak
int ClearCommBreak (idComDev)
int idComDev;
/* Device with canceled break state */
The ClearCommBreak function cancels the break state of the communication device and restores it
so it is ready for character transmission.
< Parameter >
idComDev: Identifies the communication device for which the break state is to be canceled.
The OpenComm function will return this value.
< Return value >
Returns zero if the function is terminated normally. If an valid device was not identified by
idComDev parameter, -1 is returned.
Note:
The function cancels the break state of the communication device that was set with the
SetCommState function.
Note on IrDA:
This will only function if the 9-Wire or 3-Wire connection is established. It will not function for
3-Wire RAW connection. If this is attempted, the ClearCommBreak function will be terminated
normally.