Casio IT-2000D PDAs & Smartphones User Manual


 
135
Switching Over COM2 Channel
IR, 14-pin, or 3-pin communication interface can be selected on the COM2 port. However,
since the 3-pin interface is an optional means to maintain software compatibility with other
models, it is not implemented on this terminal.
SYNTAX
int SYS_GetCOM2Config();
INPUT
None
OUTPUT
= 0 Not selected (default setting at RESET)
= 1 14-pin
= 2 3-pin
= 3 IR
SYNTAX
int SYS_SetCOM2Config(int nDevice);
INPUT
nDevlce = Device to be used
0 Not used
1 14-pin
2 3-pin
3 IR
OUTPUT
= 0 Normal
= -1 Parameter error
Note:
This function is not related to the device power control. As a result, this function does not need to be
restored to the "Not used" condition after the device has been used.