Casio IT-2000W Technical Reference Manual page 115

Casio pda technical reference manual
Table of Contents

Advertisement

EscapeCommFunction
LONG EscapeCommFunction(idComDev, nFunction)
int idComDev;
int nFunction;
The EscapeCommFunction is used to specify the communication device used to execute the
expanded function.
< Parameter >
idComDev
Specifies the communication device used to execute the expanded function.
The OpenComm function returns this value.
nFunction
Specifies the function code of the expanded function. It will be one of the following:
CLRDTR
CLRRTS
GETMAXCOM
GETMAXLPT
RESETDEV
SETDTR
SETRTS
SETXOFF
SETXON
< Return value >
Returns zero if the function is terminated normally. Otherwise it returns a value less than zero.
Note on IrDA:
Some nFunction parameters are not supported at present. Those which are currently supported will
function if a 9-Wire connection is established. They will not function for a 3-Wire or 3-Wire-Raw
connection. If these parameters are specified, the EscapeCommFunction function will be terminated
normally.
/* Identifier of the communication device */
/* Code of the expanded function */
Clears the DTR (data terminal ready) signal. This will function if
a 9-Wire connection is established.
Clears the RTS (request to send) signal. This will function if a
9-Wire connection is established.
Returns the maximum value of the COM port identifier supported
by the system. This value ranges between 0x00 and 0x7F. 0x00
corresponds to COM1, 0x01 corresponds to COM2, and 0x02
corresponds to COM3, and so on.
Not supported.
Not supported.
Sends a DTR (data terminal ready) signal. This will function if a
9-Wire connection is established.
Sends an RTS (request to send) signal. This will function if a
9-Wire connection is established.
Not supported.
Not supported.
115

Advertisement

Table of Contents
loading

Table of Contents