Read TID
Introduction
Reading the TID can be configured to be automatically performed on any inventoried tag.
A word of caution
The general procedure of reading the TID value is a two step process:
Doing a regular inventory
Accessing the TID memory bank on the inventoried tags
The TID memory bank access must be defined: offset and length are pre-configured parameters
That being said, it is obvious that the above has some problems:
An inventoried tag may not be in the field when the TID access is performed. In such case, the EPC is returned without a TID value.
When different tag chips are used, the offset/length parameters may be different. This is an additional complication
When the offset/length result in invalid values for the chip TID memory bank, the TID value is not returned.
Configuration
Automate TID reading must be done in AdvanNet RF & Antennas options tab
Accessing TID data
When TID access is configured, TID values can be accessed on the 3177 TCP socket.
The following is an example of inventory message with the tag TID value
<?xml version="1.0" encoding="UTF-8"?>
<inventory>
<type>inventory</type>
<ts>1425547770000</ts>
<status>OK</status>
<msg-version>2.3.0</msg-version>
<op>inventory</op>
<data>
<advanNetId>AdvanNet-instance-78:a5:04:f6:80:09--1</advanNetId>
<deviceId>AdvanPay-m1-eu-110</deviceId>
<inventory>
<class>INVENTORY</class>
<deviceId>AdvanPay-m1-eu-110</deviceId>
<size>1</size>
<items>
<item>
<class>READ_EVENT</class>
<epc>3036029b5398690000000001</epc>
<decoded>
<class>EPC_DECODED</class>
<type>gtin96</type>
<sku>98431316425006</sku>
<uri>urn:epc:tag:sgtin-96:1.8431316.942500.1</uri>
<serial>1</serial>
</decoded>
<ts>1425547770330</ts>
<deviceId>AdvanPay-m1-eu-110</deviceId>
<data>
<class>TAG_DATA</class>
<hexepc>3036029b5398690000000001</hexepc>
<tid>010203040506</tid>
<props>
<prop>TID:010203040506,</prop>
<prop>TIME_STAMP:1425547770330,</prop>
<prop>RSSI:-50,</prop>
<prop>ANTENNA_PORT:1,</prop>
<prop>MUX1:0,</prop>
<prop>MUX2:0,</prop>
</props>
</data>
</item>
</items>
</inventory>
</data>
</inventory>