beautypg.com

Reader/gen2/accesspassword, Reader/gen2/writemode, By setting – ThingMagic Mercury API v1.23.0 User Manual

Page 71

background image

Configuring Readers

Level 2 API

71

/reader/gen2/accessPassword

Type: Gen2.Password

Default value: 0

Writable: yes

Products: all

The Gen2 access password that is used for all tag operations. If set to a non-zero value it
must match the value stored in the tag’s Reserved Memory | Access Password or tag
operations on that tag will fail, even if the memory operated on is not locked.

/reader/gen2/writeMode

Type: Enum

Default value: Gen2.WriteMode.WORD_ONLY

Writable: yes

Products: M6e, M6

Controls whether write operations will use the optional Gen2 BlockWrite command
instead of writing block (word) by block until all the data is written. Using BlockWrite can
result in significantly faster write operations, however, not all Gen2 tags support
BlockWrite.Three modes are supported:



WORD_ONLY - Use single-word Gen2 Write only. Guaranteed to work with all Gen2

tags.



BLOCK_ONLY - Use multi-word Gen2 BlockWrite only. Not all tags support

BlockWrite. If a write is attempted in this mode on a non-supporting tag it will fail and
an exception will be thrown.



BLOCK_FALLBACK - Try BlockWrite first then, if it fails, retry a standard Write.