Example with embedded read tag data, Application tag commands – ThingMagic M5e-Compact User Manual
Page 96

Application Tag Commands
96
Command Set
Example with Embedded Read Tag Data
When using Read Tag Multiple with an embedded Read Tag Data command an extra field
containing the requested Data from the first tag which responded matching the Select
criteria is added to the response. Up to 4 bytes of tag data for the other tags responding,
if any, is available as
. This command provides the added benefit over
simply using just a Read Tag Data with Select of being able to identify other tags
matching the criteria which still may need to be written or which you didn’t expect to
match. An example of sending an embedded Read Tag Data and its response is as
follows:
This command will inventory all tags with an EPC value ending in 0x34, which requires
adding the appropriate
to the
syntax then will use
to verify that 0x12345678 was written into the Reserved Memory
Bank starting at Word address 0x00000002 (Access Password):
The response contains the number of tags found matching the Select criteria specified
and the number of embedded command operations which succeeded and failed. Use
to access the tag EPCs and Tag Read Meta Data for the Tags Found.
Tags in the buffer may or may not have had successful execution of the embedded
command on them:
FF
1B
22
04
00
04
03
E8
00
00
00
00
00
00
00
78
08
34
SOH
Length
OpCode
Options
(EPC Mem)
Search
Flags
Timeout
Access Password
Select Data Address
(bits)
Select
Data
Length
(bits)
Select
Data
01
09
28
03
E8
00
00
00
00
00
02
02
71
FE
Embd
Cmd
Count
Embd
Cmd
Lengt
h
Embd
Cmd
OpCod
e
Embd Cmd
Timeout
(Not Used)
Embd
Cmd
Options
(Must be
0x00)
Read
Mem-
Bank
Read Address (Words)
Read
Word
Count
CRC
FF
0e
22
00
00
04
00
04
03
01
28
00
01
00
00
SOH
Length
OpCod
e
Status
Options
Search Flags
Tag
Found
Embd
Cmd
Count
Embd
Cmd
OpCode
Operations
Succeeded
Operations
Failed
11
22
33
44
DE
02
Data Read
CRC