Data Format; Preamble; Enable/Disable Preamble; Set Preamble - Marson MT8495 User Manual

2d usb mini scanner
Table of Contents

Advertisement

MT8495 User's Manual V1.0

6. Data Format

The following is the complete data format:
[Preamble] + [Code ID] + [Data] + [Postamble] + [Terminator]
By default Code ID, Preamble and Postamble are disabled; terminator is 0x0D
(Carriage Return). Data is the content encoded in a barcode, which can be
further divided into [Start] + [Center] + [End] if the length of Start/End is
defined.

6.1 Preamble

6.1.1 Enable/Disable Preamble

Enable Preamble
Disable Preamble*

6.1.2 Set Preamble

Set Preamble
Preamble can be up to 15 bytes of data, with each data converted into two-digit
hex value during configuration. Please refer to Appendix C for ASCII table and
corresponding hex value.
Example: to set Preamble as "CODE"
1. Convert "CODE" into Hex equivalent as 43, 4F, 44, 45
___________________________________________________________________________________
32

Advertisement

Table of Contents
loading

Table of Contents