Examples, Tag inventory with embedded operations, Tag inventory with embedded – ThingMagic M5e-Compact User Manual

Page 92: Operations, Inventory with embedded operations, Tag inven, Tory with embedded operations, Application tag commands, Tag singulation fields

Advertising
background image

Application Tag Commands

92

Command Set

Examples

Here is an example request and response showing the use of

Tag Singulation/Select

Functionality

to inventory tags which meet a specific criteria:

This command will inventory all tags with an EPC value ending in 0x66, which requires
adding the appropriate

Tag Singulation Fields

to the

Basic Tag Inventory

syntax

Note

The Select Options field of the

Tag Singulation Fields

in the request is specified

at the beginning of the command followed by the Search Flags, Timeout,
Access Password then the rest of the Tag Singulation Fields. This is different
than the typical format for Select fields. Also, this syntax always requires an
Access Password be specified. Since only Reserved Memory can be read
locked and Reserved Memory cannot be used for singulation the Access
Password must be 0x00000000

The response contains the number of tags found matching the Select criteria specified.
Use

Get Tag Buffer (29h)

to access the tag EPCs and Tag Read Meta Data:

Tag Inventory With Embedded Operations

In addition to inventorying tags, Read Tag Multiple can be used to perform an operation
on each tag in a population of tags. Starting with the

Tag Inventory with Select

syntax to

define the population of tags the operation is to be performed on, the Search Flag bit 3
(0x0004) can be set to indicate embedded commands are to be performed on the
inventoried commands. The required fields are as follows:

FF

0F

22

04

00

00

03

E8

SOH

Length

OpCode

Options

(EPC Mem)

Search Flags

Timeout

00

00

00

00

00

00

00

78

08

66

D
E

C0

Access Password

Select Address (bits)

Select
Data
Length
(bits)

Select
Data

CRC

FF

04

22

00

00

04

00

00

02

B7

6E

SOH

Length

OpCode

Status

Options

(EPC Mem)

Search Flags

Tag Found

CRC

Advertising
This manual is related to the following products: