N :
Total number of bytes to be sent(3 bytes)
C0, C1,…, Cn : Total number of each barcode data(1 byte)
Y0,Y1,…, Yn : Type of each barcode(1 byte)
D0,D1,…,Dn : Actual barcode data of each barcode(variable size)
T0, T1,…,Tn : Timestamp of each barcode(4 bytes)
The first 3 bytes specify the total number of bytes being sent. Then the entire populated contents of the internal
flash memory are sent as is.
After the 3
rd
byte, the message can be thought of in terms of variable size blocks with each block of bytes
representing information on a single barcode. These blocks are placed next to each other with no “empty” bytes
between them.
‘p’
command
Parameters: The number which indicates the position of barcode data to be sent.
Format:
‘p
xxxxxxxx#
’ where
xxxxxxxx
is the number of barcode data stored in the internal flash to upload.
Output:
A multi-byte string (see below). KDC200 sends only one barcode data at one time.
Purpose:
Read the Nth barcodes data stored in KDC200 internal flash memory. Does
not
erase the barcode.
S N C Y D T K
Where:
S : Start byte 0x03(1 byte)
N : Total number of bytes to be sent(3 bytes)
C : Total number of each barcode data(1 byte)
Y : Type of each barcode(1 byte)
D : Actual barcode data of each barcode(variable size)
T : Timestamp of each barcode(4 bytes)
K : Check sum byte(1 byte). All sum except S should be 0.
Note: To upload all stored barcode data by using this command, it is required to call this command N times