Internal Data Buffer; Data Format - KoamTac KDC100 Programming Manual

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

Advertisement

KoamTac KDC100 provides easy and extensive commands set to application developers who wish to
control the KDC100 and resulting data for their application.

Internal data buffer

KDC100 has 190K bytes flash memory where it stores the read barcodes. Its capacity, in terms of
number of barcodes, depends on the size of barcodes. Barcodes are stored sequentially as they are
scanned in the internal flash memory. The maximum number of stored barcodes is 10,240 with 190K
byte limitation.

Data Format

User can distinguish Normal mode, Master/Slave Application and user created Application records by
checking the second last byte in the record. It is user created Application record if the second last
byte is 0xFF in hexadecimal (11111111 in binary). It is either Normal mode or Master/Slave
Application records if the second last byte is NOT 0xFF. User can further distinguish Normal mode
and Master/Slave Application records by checking the first two bits of barcode type byte defined in the
below.
Normal mode and Master/Slave Application
KDC100 stores the read barcodes in the internal flash memory in the following data format:
C0
Y0
D0
T0
Where
C0, C1,..., Cn : Total number of each barcode data (1 byte)
2 bytes for KDC200P/KDC300, 1 byte for KDC100/200
o
Y0,Y1,..., Yn : Type of each barcode(1 byte)
The 1
o
The remaining 5 bits indicate barcode type
o
D0,D1,...,Dn : Actual barcode data of each barcode (variable size)
T0, T1,...,Tn : Timestamp of each barcode (4 bytes)
C1
Y1
D1
T1
st
3 bits distinguish Normal mode or Master/Slave Application records
Bit 5 : 1 if matching slave data, 0 if mismatching slave data
Bit 6 : 1 if master data, 0 if slave data
Bit 7 : 1 if data is collected in Master/Slave Application, 0 if data is collected
in Normal mode
KDC100 Programming Manual
.....
.....
.....
.....
4
Cn
Yn
Dn
Tn

Advertisement

Table of Contents
loading

Table of Contents