3 - 36
See
padPassThroughSetOffCode
and
padPassThroughResetCodes
for more information on using the correct code for
turning off pass through mode. To enable pass through mode use
padPassThroughOn
.
Syntax
WORD padPassThroughOff(
char *code,
WORD codeLength
)
Parameter
Description
code
A buffer containing the binary code used to turn off pass through mode
codeLength
The length of the binary pass through code in bytes
Returns
Returns non-zero if successful, zero otherwise.
See Also
padPassThroughOn, padPassThroughSetOffCode, padPassThroughSetOnCode, padPassThroughResetCodes
padPassThroughOn
Turns on pass through mode. To enter pass through mode for a specific pad you must use the correct pass through code
for that pad. If the code is not correct, then that pad will not enter pass through mode. After correctly enabling pass through
mode, PadCom can send and receive data to and from a device connected to the pass through port of that pad, but it cannot
send and receive data to or from that pad until the pass through mode of that pad is disabled (see
padPassThroughOff
).
The device connected to the pass through port of a pad must operate at the same baud rate as the pad or you will not be
able to communicate with it. You can use
(see page 3-50) before entering pass through mode to set the
pad to the same baud rate as the device connected to its pass through port. When connecting a series of pads together
using the pass through ports, it becomes a complex task to manage if all of the pads initially have different baud rates.
PadCom does not readily support multiple devices with multiple baud rates; it is best to avoid this situation.
Note: Before entering pass through mode it is advised that you set the pass through “OFF” code for that pad. Failure to do
so may cause that pad to get stuck in pass through mode until powered down. If you send the
padPassThroughOff
command with an “OFF” code that doesn’t match that pad’s “OFF” code, then that pad will not process the command and
will simply send it to any device connected to its pass through port.
See
padPassThroughSetOnCode
and
padPassThroughResetCodes
for more information on using the correct code for
turning on pass through mode. To disable pass through mode use
padPassThroughOff
.
Syntax
WORD padPassThroughOn(
char *code,
WORD codeLength
)
Parameter
Description
code
A buffer containing the binary code used to turn on pass through mode
codeLength
The length of the binary pass through code in bytes
Returns
Returns non-zero if successful, zero otherwise.
See Also
padPassThroughOff, padPassThroughSetOffCode, padPassThroughSetOnCode, padPassThroughResetCodes
Summary of Contents for PadCom TT1500
Page 1: ... PadCom Point of Sale Terminal Control Library U s e r s G u i d e ...
Page 88: ...4 2 ...
Page 129: ......
Page 130: ......
Page 131: ......
Page 132: ... PadCom UG Rev A 4619 Jordan Road P O Box 187 Skaneateles Falls New York 13153 0187 ...