Baracoda Barcode Reader User Manual
Page 50

DualRunners – Communication Protocol v1.3
- 50 -
Data Capture
for Workforce
in Motion
Communication messages
Code ID
0x80
Description
Find TAG and get ID
Payload
0-3bytes:
[optional 2 bytes] : {protocol mask}
[optional 1 byte] : {timeout (s)}
Response
None if no tag detected
Else x bytes:
{Tag ID}
Code ID
0x81
Description
Read data from a TAG
Payload
6 bytes:
2B : { protocol mask
the mask format is the same as the one used in command 0x02.
if 00 00 is given, then the default mask will be used (the one defined with
command 0x02) }
1B : { timeout
Timeout for the response.
if 00 is given, then the default timeout will be used (5s) }
1B : { expected card type
00 : try any supported card
01 : only try to read mifare ultralight cards
02 : only try to read mifare 1K cards
03 : only try to read mifare 4K cards
ETC. the complete list of card types codes is shown below }
2B : { start/stop sectors (pages)
Start sector must be smaller or equal to stop sector number
For all cards (tags), the first sector (or page, or block) is 0.
For the stop sector, if the specified number is greater than the last sector
available on the tag, the reading will occur until the last sector
Examples :
00 00 : read first sector/page
00 FF : read the whole memory }
Response
x bytes:
/!\ only the reading status is encapsulated into the data frame (code ID, length,
payload), before receiving this, the response can be sent :
2B : { protocol type
RF protocol used by the read card (see mask format)
Example : 00 01 = mifare tag }
1B : { UID (tag ID) length }
xB : { UID }
1B : {Card type
00 : try any supported card