
254
charalength
charalength is a character length or the number of data bits. It should be 8(default) or 7
bits.
stopbit
stopbit is the number of stop bits. It should be 1 (default) or 2 bits.
NOTE
The IrDA interface is compliant with the IrDA physical layer
(IrDA-SIR1.2), so the vertical parity, character length, and stop bit length
are fixed to none, 8 bits, and 1 bit, respectively. If selected, those
parameters will be ignored.
RS/CS
RS/CS enables or disables the RS/CS control. It should be 0 (default), 1, 2, 3, or 4, which
corresponds to the following function:
Value of RS/CS IrDA I/F Direct-connect I/F
0
(default)
Ignored
1
Ignored
2
Ignored
High RD will be regarded as a
high CS.
3
Ignored
Low RD will be regarded as high
CS.
4
Ignored
CS control disabled(RD will be
used as an input port.)
As listed above, you can specify RS/CS option for the direct-connect interface.
If you specify it for the IrDA interface, it will be ignored resulting in no run-time error.
RS/CS option is also applicable to Busy control when the direct-connect inter-face is used. To
do so, interface cable connection should be modified. For details, refer to the BHT User’s
Manual.
Shown below is a coding sample for enabling the RS/CS control.
OPEN "COM :,,,,1"AS #16
timeout
timeouttimeout
timeout
timeout is a maximum waiting time length until the CS signal goes ON after the BHT
becomes ready to send data. It should be 0 to 255 in increment of 100ms.
Specification of zero (0) causes no timeout.
To make the direct-connect interface support timeout, the RS/CS option should be set to "2"
or "3" so that the RD signal is regarded as CS. If any of "0," "1,"and "4" has been set to the
RS/CS option, the value of the timeout option will be modified.
The IrDA interface does not support timeout. If specified, the timeout option will be ignored
resulting in no run-time error.
Kommentare zu diesen Handbüchern