Get tag epcs and metadata, Application tag commands – ThingMagic M5e-Compact User Manual
Page 115
![background image](/manuals/640737/115/background.png)
Application Tag Commands
Command Set
115
A 64-bit tag has the length set to 0x60 (16-bit PC + 64-bit tag EPC + 16-bit tag CRC),
but only the first 12 bytes of the tag record is filled in, the trailing bytes, after the CRC
are padded with zeros.
An 96-bit GEN2 tag, the length is 0x80 (16-bit PC (Protocol Control) word + 96-bit tag
EPC + 16-bit tag EPC CRC).
In the response below, two tag EPCs are returned. Tag #1 is a 96-bit EPC tag and tag #2
is a 64-bit EPC tag.
Note
Using this syntax the number of tags in the response is not specified. It must
be determined by the message length.
Get Tag EPCs and Metadata
Using this syntax for getting information from the tag buffer provides several benefits:
When at tag EPC is returned there is no padding if the actual tag EPC is shorter than
the configured max EPC length. This helps minimize the amount of data returned.
Any or all fields of the
can be returned.
FF
24
29
00
00
SO
H
Length
OpCod
e
Status
00
80
30
00
11
11
22
22
33
33
44
44
55
55
66
66
18
35
EPC
Length
PC Word
Tag EPC
Tag CRC
00
60
20
00
11
11
22
22
33
33
44
44
C2
41
00
00
00
00
EPC
Length
PC Word
Tag EPC
Tag CRC
Padding
D3
32
CRC