
Chapter 8. Files
123
8.4.3 Programming for Data Communications
Setting the Communications Parameters
Setting the Communications ParametersSetting the Communications Parameters
Setting the Communications Parameters
Use the OPEN "COM:" statement to set the communications parameters.
For IrDA interface
For IrDA interfaceFor IrDA interface
For IrDA interface
Communications Parameters Effective Setting Default
Transmission speed (bps) 115200,57600,38400,19200,9600,2400 9600
Parameters other than the transmission speed are fixed (Parity = None, Character length =
8bits, Stop bit length = 1 bit), since the physical layer of the IrDA interface complies with the
IrDA-SIR 1.2.
For direct
For directFor direct
For direct-
--
-connect interface
connect interfaceconnect interface
connect interface
Communications Parameters Effective Setting Default
Transmission speed (bps) 115200,57600,38400,19200,9600, 4800,2400,
1200,600,300
9600
Parity* None, even, or odd None
Character length* 7 or 8 bits 8 bits
Stop bit length* 1 or 2 bits 1 bit
* The parity, character length, and stop bit length are fixed to none, 8 bits, and 1 bit,
respectively, if the BHT-Ir protocol is selected.
Comentarios a estos manuales