[][src]Module gs1::epc::tid

Decoder for EPC Tag Identification data

The TID is a memory area on a Gen2 RFID tag which contains the manufacturer identification and capabilities of the tag.

As Gen2 tags will refuse an out-of-bounds read, the TID memory must be read from the tag and decoded progressively. Decoding the TID structure (4 bytes / 2 words) will indicate whether the XTID header (2 bytes / 1 word) is present and can be read. The XTID header then determines which of the subsequent data structures are present.

Reference

GS1 EPC TDS Section 16

Structs

TID

Tag Identification

XTIDHeader

Extended Tag ID header

Functions

decode_tid

Decode the TID structure from bytes

decode_xtid_header

Decode the XTID header from bytes

mdid_name

Look up a mask designer ID and return a string of the manufacturer name

tmid_name

Look up the model name of a tag given the MDID and TMID.