Padechocomm; Paderasetable - Hand Held Products PadCom TT1500 User Manual

Point-of-sale terminal control library
Table of Contents

Advertisement

Returns
Returns TRUE if the function succeeds, FALSE otherwise.
See Also
padHideTime, padSetTime, padGetTime, padSetFont

padEchoComm

Echoes data back to the host (the PC). The user sends a block of data specified by SendDataBlock (with the length of the
data specified by DataLength) to the pad and the pad sends the data back to the host which is then placed in
RecvDataBlock. This command can be used to verify the communication link between the host and the pad.
This command can optionally be used to synchronize the software with the state of the unit by waiting for the echo to return
before continuing.
Syntax
int padEchoComm(
char *SendDataBlock,
char *RecvDataBlock,
WORD DataLength
)
Parameter
SendDataBlock
RecvDataBlock
DataLength
Returns
Returns TRUE if the function call succeeds, FALSE otherwise.

padEraseTable

Erases all data in a binary table.
Syntax
BOOL padEraseTable(
char FAR * lpszDatabaseName
)
Parameter
lpszDatabaseName
Returns
Returns TRUE if the function call succeeds, FALSE otherwise.
Description
Pointer to the block of data to send
Pointer to the received data block
Length of the sent data bytes
Description
Name of the database variable that stores the transactions
3 - 5

Advertisement

Table of Contents
loading

This manual is also suitable for:

Padcom tt3100 series

Table of Contents