How to use KDC350 Wi-Fi
30
5.
Data Format
5.1 Storage Format
KDC350 Wi-Fi model can store scanned barcode and RFID data into internal flash
memory.
The KDC350 Wi-Fi model stores the read barcodes and RFID data in the internal
flash memory in the following data format:
C0 Y0 D0 T0 C1 Y1 D1 T1 ….. ….. ….. ….. Cn Yn Dn Tn
Where
C0,C1,…,Cn : Total number of each barcode record (C+Y+D+T) (2 bytes).
Y0,Y1,…, Yn : Type of each barcode (1 byte) or RFID tag.
D0,D1,…,Dn : Actual barcode data of each barcode (variable size) or RFID data.
T0, T1,…,Tn : Timestamp of each barcode (4 bytes) or RFID data.
The timestamp field has 6 sub-fields as follows:
MSB LSB
Years
(6 bits)
Months
(4 bits)
Days
(5 bits)
AM/PM
(1 bit)
Hours
(4 bits)
Minutes
(6 bits)
Seconds
(6 bits)
Note:
(1) The base year is 2000. It means the year is 2000 if the Years field is 0.
(2) The Hours range is 0 – 11 and AM/PM bit 0 means AM, and 1 means PM