H' (Set Handshake Mode) - KoamTac KDC100 Programming Manual

Revision 2.82
Hide thumbs Also See for KDC100:
Table of Contents

Advertisement

'H' (Set handshake mode)

Parameters:
0 or 1 in hexadecimal
Format:
"H<value>#", where <value> is either 0 or 1 and # means the end of <value>
value
0
1
Output:
'!' – invalid parameter
'@' – all other times
Purpose:
To Enable/Disable handshake with HOST while sending packet data. KD200P doesn't
perform handshake if data format is barcode only.
[Note]
Handshake mode is applicable for only 'p' command and wedging in packet data format
Handshake mode is NOT applicable for 'P' command and wedging in data only format
If handshake mode is enabled,
KDC100 expects HOST to send either success or failure response to KDC100 once
HOST receives packet data from KDC100.
HOST is required to send a success response if it receives a packet data successfully
by sending a character '@'. If HOST detected an error while receiving a packet data
from KDC100, HOST should send a failure response to KDC100 by sending a
character '!'.
KDC100 tries multiple transmission up to 10 times if KDC100 doesn't get response
within 1 second or receives failure response '!' from HOST.
[Example] Send 3 bytes data (0x48, 0x31, 0x23) to enable handshake mode
0x48: ASCII code of character "H"
0x31: ASCII code of character "1"
0x23: ASCII code of character "#"
H1#
Handshake Mode
Disable
Enable
39
KDC100 Programming Manual
Character
"0"
"1"
Hex No.
30
31

Advertisement

Table of Contents
loading

Table of Contents