Padpassthroughon - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

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
code
codeLength
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 padSetBaudRate (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
code
codeLength
Returns
Returns non-zero if successful, zero otherwise.
See Also
padPassThroughOff, padPassThroughSetOffCode, padPassThroughSetOnCode, padPassThroughResetCodes
3 - 36
Description
A buffer containing the binary code used to turn off pass through mode
The length of the binary pass through code in bytes
Description
A buffer containing the binary code used to turn on pass through mode
The length of the binary pass through code in bytes

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents