If KDC100 replied with ‘@’, then KDC100 is already woke up from sleep mode.
‘w’
command
Parameters: 0 or 1
Format:
‘z
xxxx
#’ where
xxxx
is the value of parameter in hex,
Output:
‘!’ – invalid parameter.
‘@’ – all other times.
Purpose:
When SCAN button is pressed, select whether KDC100 sends PAYLOAD data only or sends
PACKET
data and waiting for response from HOST.
If the value
xxxx
is 0: KDC100 sends only PAYLOAD to HOST
1:KDC100 sends PACKET data and wait for response(‘@’) from HOST.
If KDC100 doesn’t get response from HOST within 100msec, KDC100
sends the same data to HOST again. KDC100 will attempt 10 times until
it gets a response from HOST.
{
Data Format
KDC100 supports two kind of data format when sending data to HOST as the following:
PAYLOAD only
Barcode data
CR
LF
Where:
Barcode data
is the actual read barcode data
CR
is 0x0d(‘\r’)
LF
is 0x0a(‘\n’)
PACKET DATA
S N C Y D T K
Where:
S : Start byte 0x03(1 byte)
N : Total number of bytes to be sent(3 bytes)