Minimum set of serial commands – ThingMagic M5e-Compact User Manual
Page 209
Minimum Set of Serial Commands
Appendix B: Getting Started - Devkit
209
Minimum Set of Serial Commands
The minimum set of commands required to setup the M5e for reading are:
:
0xFF 0x00 0x04 0x1D 0x0B
Set Current Tag Protocol (93h)
[to Gen2]
0xFF 0x02 0x93 0x00 0x05 0x51 0x7D
[to EU3]
0xFF 0x01 0x87 0x08 0x4B 0xB5
Notice you must first boot the application firmware (0x04) so you can successfully
execute the setup commands. The "Set" commands cannot be executed when running in
the bootloader mode.
Once configure you can perform inventory operations using the Read Tag Multiple (0x22)
command. This results in tags being stored in the tag Buffer on the module. You then
need to execute Get Tag Buffer (0x29) operations to retrieve the tags. See the docs for
more details on how those work. A very simple usages is:
0xFF 0x02 0x22 0x01 0xF4 0xE7 0x76
- Can return max 13 tags so if Read Tag Multiple resulted in more
than 13 being stored then multiple Get Tag Buffer commands must be sent.
0xFF 0x03 0x29 0x00 0x00 0x00 0xF4 0x22