Specifications

287
Description:
OPEN "COM:" opens a communications device file and associates it with file-
number
for allowing input/output activities using the communications interface.
If optional parameters enclosed with brackets are omitted, the most recently spec-
ified values or the defaults become active.
Listed below are the defaults:
COMn
COMn
is a communications device file name.
The BHT supports both the IrDA and direct-connect interfaces but cannot open
them concurrently. If you attempt to open both interfaces concurrently, a run-
time error will occur.
*1
The default interface refers to an interface which is selected on the SET COMMUNICATION
menu. (For details, refer to the BHT Users Manual.)
COM may be in lowercase as shown below.
OPEN "com:" AS #8
If you attempt to open both the IrDA communications device file and bar code
device file concurrently, a run-time error will occur.
baud
When the IrDA interface is used, baud is one of the baud rates: 115200, 57600,
38400, 19200, 9600 (default), and 2400. When the direct-connect interface is
used, it is one of the baud rates: 115200, 57600, ,38400, 19200 (default), 9600,
4800, 2400, 1200, 600, and 300.
parity
parity
is a parity check. It should be N (default), E, or O, which corresponds
to None, Even, or Odd parity, respectively.
Baud rate 9600 bps
Parity check No parity
Character length 8 bits
Stop bit 1 bit
RS/CS control 0 (No control)
Timeout 3 seconds
Interface Communications device file name
IrDA interface "COM1:"
Direct-connect interface "COM2:"
Default interface
*1
"COM:"