beautypg.com

Examples, Session, Q value – ThingMagic M5e-Compact User Manual

Page 167: F ollowed by a, Set application commands, Set protocol configuration (9bh), Set current tag protocol (93h), Start bootloader (09h), Boot firmware (04h), The following example sets the gen2 session to s2

background image

Set Application Commands

Command Set

167

Note

Setting the parameters using Set Protocol Configuration will override the
implicit value set by a previous call to Set User Mode. Likewise, a
subsequent call to Set User Mode will override the parameters set by Set
Protocol Configuration. Get Protocol Configuration will always return the
current setting regardless of whether it was set by Set Protocol
Configuration or Set User Mode.

Note

Changing these protocol parameters manually using

Set Protocol Configuration

(9Bh)

will maintain their value across changes in the current protocol using

Set Current Tag Protocol (93h)

. Their values will NOT be reset if the protocol is

reset, only if the module is power cycled or the application firmware is
reloaded by a

Start Bootloader (09h)

followed by a

Boot Firmware (04h)

.

Examples

Session

The following example sets the Gen2 session to S2:

Q Value

The Q valued can be set to a static user specified value or to dynamically change based
on ThingMagic internal algorithms. When using the dynamic Q setting the Value
parameter is dropped in the command.

The following example statically sets the Q value to 6:

The following example sets dynamic Q value adjusting:

FF

03

9B

05

00

02

DC

EA

SOH

Length

OpCode

Protocol

Parameter

Value

CRC

FF

04

9B

05

12

01

06

80

A9

SOH

Length

OpCode

Protocol

Parameter

Option

Value

CRC

FF

03

9B

05

12

00

CE

E8

SOH

Length

OpCode

Protocol

Parameter

Option

CRC

This manual is related to the following products: