Padpassthroughresetcodes; Padpassthroughsetoffcode; Padpassthroughsetoncode - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

padPassThroughResetCodes

This command resets the pass through "ON" and "OFF" codes to the factory defaults. The default codes are two bytes in
length. The default "ON" code is AA 55 in hexadecimal (170 85 in decimal). The default "OFF" code is 55 AA in hexadecimal
(85 170 in decimal). After using this command you must use these default values when enabling or disabling pass through
for that pad.
Note: You cannot use this command to reset the codes of a pad that is currently in pass through mode. If a pad is in pass
through mode it will ignore this command and send it to its pass through port.
See padPassThroughSetOnCode and padPassThroughSetOffCode for more information on using the correct code for
turning on pass through mode.
Syntax
WORD padPassThroughResetCodes(
void
)
Returns
Returns non-zero if successful, zero otherwise.
See Also
padPassThroughOff, padPassThroughSetOffCode, padPassThroughSetOnCode, padPassThroughOn

padPassThroughSetOffCode

This command sets the pass through "OFF" code of a pad. The code can be from 1 to 4 bytes in length. After setting the
"OFF" code you must use the same "OFF" code when disabling pass through mode for that pad or you will not be able to
disable pass through mode for that pad (see padPassThroughOff). You can have a chain of pads connected in series using
the pass through ports of each pad. Giving each pad a unique "OFF" code allows you to selectively disable pass through
mode for a specific pad. If any two or more pads have the same "OFF" code then padPassThroughOff disables the first
pad with that "OFF" code in the chain.
Note: You cannot use this command to set the "OFF" code of a pad that is currently in pass through mode. If a pad is in pass
through mode it will ignore this command and send it to its pass through port.
Syntax
WORD padPassThroughSetOffCode(
char *code,
WORD codeLength
)
Parameter
code
codeLength
Returns
Returns non-zero if successful, zero otherwise.
See Also
padPassThroughOff, padPassThroughResetCodes, padPassThroughSetOnCode, padPassThroughOn

padPassThroughSetOnCode

This command sets the pass through "ON" code of a pad. The code can be from 1 to 4 bytes in length. After setting the
"ON" code you must use the same "ON" code when enabling pass through mode for that pad or you will not be able to enable
pass through mode for that pad (see padPassThroughOn). If you have more than two pads connected together in a series
using the pass through ports it is not nessesary for each pad to have a unique "ON" code, however, it is very useful for each
pad to have a unique "OFF" code (see padPassThroughSetOffCode).
Description
A buffer containing the binary code used to turn off pass through mode
The length of the binary pass through code in bytes
3 - 37

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents