Casio IT-2000W Technical Reference Manual page 132

Casio pda technical reference manual
Table of Contents

Advertisement

TransmitCommChar
int TransmitCommChar(idComDev, chTransmit)
/* Communication device */
int idComDev;
char chTransmit; /* Character to be transmitted */
The TransmitCommChar function places the specified character at the top of the specified
transmission queue.
< Parameter >
Specifies the communication device to which characters are transmitted.
idComDev:
The OpenComm function returns this value.
ChTransmit: Specifies the characters to be transmitted.
< Return value >
Returns zero if the function is terminated normally. If the character could not be transmitted,
it returns a value less than zero.
Note:
If the device is not transmitting a character, the TransmitCommChar function cannot be called
repeatedly. If a character has been placed in the communication queue with the TransmitCommChar
function, that character must be transmitted so that the function can be called again. If the previous
character has not been transmitted yet, this function returns an error value.
Note on IrDA :
Data transmission will take place only after the transmitted characters have been passed from the
transmission queue to the IrDA driver. The specified characters will be transmitted after the
remaining data in the IrDA driver has been transmitted. The TransmitCommChar function will pass
the characters to the IrDA driver preceding the data in the transmission queue.
132

Advertisement

Table of Contents
loading

Table of Contents