Examples – ThingMagic M5e-Compact User Manual
Page 86
Application Tag Commands
86
Command Set
Read Tag Single Get EPC and Metadata Response Fields
Examples
An example command requesting AntennaID and Timestamp
Field
Length
Value
SOH
1 byte
0xFF
Length
1 byte
Based on data returned
OpCode
1 byte
0x21
Status
2 bytes
Status of command
Options
1 byte
As sent in request
Metadata Flags
2 bytes
Metadata contained in response
Read Count
1
1 byte
Tag EPC/Antenna Read Count
RSSI
1
1 byte
Return Signal Strength Indicator
Antenna ID
1
1 byte
Antenna ID, 4 MSBs for TX and 4
LSBs for RX
Frequency
1
3 bytes
Frequency in kHz
Timestamp
1
4 bytes
RTC Timestamp
RFU
1
2 bytes
Reserved for Future Use - ThingMagic
Only
Protocol ID
1 byte
Protocol ID of tag (always 0x05 for
M5e/M5e-C)
Tag Data Length
2 bytes
Size of tag data to follow. Always
0x0000 for Read Tag Single
EPC ID
N bytes
Tag EPC.
Tag CRC
2 bytes
Tag EPC CRC
CRC
2 bytes
Message CRC
1 - Conditionally returned depending on the Metadata Fields specified in the request.