Data Packaging (Packetizing) - Denso GT10B-SB User Manual

Bar code handy scanner
Table of Contents

Advertisement

10.3 Data Packaging (Packetizing)

®
Data packaging is available to boost the reliability of data transfers over the Bluetooth
wireless link from the scanner
®
®
to the Bluetooth
adapter (BA10-RKU), commercially available Bluetooth
device, or other target device.
Data packaging wraps the bar code data in packets with the following format. After sending a packet, the scanner
waits for a response from the target device. ACK indicates a successful transfer; NAK represents a request to resend.
The scanner configuration software (ScannerSetting) provides ACK/NAK timeout settings from 1 to 25 seconds in
one second intervals.
If there is no response within the specified time limit, the scanner sounds the error beep to indicate that the data
transfer was unsuccessful. The scanner cannot read in a new bar code while it is waiting for a response.
This functionality provides a scanner operator working some distance from the host with better information as to
whether the bar code data has been correctly transmitted to the host. Note, however, that wireless communications are
such that the scanner can sometimes fail to receive ACK (or NAK) responses even when the data has been correctly
transmitted. It is therefore important to use the scanner in an environment supporting stable wireless communications.
Data transmission format
Header
CRC
Terminator
Number of
Spare
Transfer data
data bytes
DLE
STX
Lower half Upper half DLE
ETX
The following describes each field in detail.
(1) Header (2 bytes)
This data sequence indicates the start of data packaging (packetizing).
(2) Number of data bytes (2 bytes)
This specifies the number of data bytes in the packet. This number includes everything from the header to the
terminator.
(3) Spare (2 bytes)
This field is for future expansion. The value is currently fixed at 0000h.
(4) Transfer data
This is the data before packetized.
(5) CRC (2 bytes)
This 16-bit CRC is calculated from the "Number of data bytes" through "Transfer data" using the CCITT CRC
polynomial x16+x12+x5+1. The two bytes appear in little-endian order: LSB first, MSB second.
(6) Terminator (2 bytes)
This data sequence indicates the end of data packaging (packetizing).
Note: If DLE (10h) is contained in the data anywhere else other than in the header or terminator, it will be preceded
®
by another DLE in data transfer. If the connection target is other than the Bluetooth
adapter in data packaging, it is
necessary to delete the added DLE in CRC calculation or data retrieval.
45

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gt10b-lb

Table of Contents