beautypg.com

Minimum set of serial commands – ThingMagic M5e-Compact User Manual

Page 209

background image

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:

Boot Firmware (04h)

:

0xFF 0x00 0x04 0x1D 0x0B

Set Current Tag Protocol (93h)

[to Gen2]

0xFF 0x02 0x93 0x00 0x05 0x51 0x7D

Set Current Region (97h)

[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:

Read Tag Multiple (22h)

0xFF 0x02 0x22 0x01 0xF4 0xE7 0x76

Get Tag Buffer (29h)

- 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

This manual is related to the following products: