beautypg.com

Baracoda Barcode Reader User Manual

Page 70

background image

DualRunners – Communication Protocol v1.3

- 70 -

Data Capture

for Workforce

in Motion

5.3

5.3

5.3

5.3

Writing tag data

Writing tag data

Writing tag data

Writing tag data

a)

Communication diagram

The following diagram shows what needs to be done in order to write the contents of a Tag-it HF-I Plus inlay

tag:

Terminal

BRRT or BDR Reader

b)

Data sent from the terminal to the reader

For every block that needs to be modified, the terminal needs to send a write command to the reader. It is

recommended to verify what parts of the tag data have been modified and send only the differing blocks.

In order to write a page, the terminal needs to send to the reader a Write data command to the reader. This

command is described in the communication protocol guide of the reader; its code ID is 0x82. In the example

the user intends to modify block 3 (three), so the format of the command will be as follows (in hexadecimal):

DE 00 0C 82 00 04 00 0B 03 00 04 xx xx xx xx

where:

-

DE: prefix

-

00 0C: data length (12 bytes will follow)

-

82: command ID (write tag data)

-

00 04: protocol mask (ISO 15693 for Tag-it HF-I Plus inlay)

-

00: timeout for the response (0 means use default = 5s)

-

0B: card type (Tag-it HF-I Plus inlay)

-

03: start block (3)

-

00 04: data length (4 bytes)

-

xx xx xx xx: data to be written in block 3












Send write command to

reader

Confirm that data has been

written