122
Note on IrDA:
The OpenComm function does not support the LPT device. Since the OpenComm function does not
control the power block of IrDA, the user should turn the power block to ON before executing this
function. On the IT-2000 the IrDA interface is assigned to COM2 port, therefore the COM2 port
should be specified. The OpenComm function operates differently depending on whether the
terminal operates as the primary station or the secondary station. The WIN.INI file is used to specify
the station type. If the terminal operates as the primary station, the XID command can be used to
perform the discovery operation for the required number of times. If this is done when the terminal is
successfully connected to the secondary station, it operates as the primary station after this function
is terminated normally. In other cases, if the terminal fails to connect with the secondary station (e.g.
specified class or attribute is absent) or if the specified number of discoveries are completed before
the connection is established, this function is terminated normally and the terminal operates as the
secondary station and waits for a connection specification from the primary station until the
CommClose function is executed.
For information about the WIN.INI file refer to Chapter 7.9.3 "Setting Up WIN.INI File".