beautypg.com

Reader/powermode, Reader/transporttimeout, Reader/usermode – ThingMagic Mercury API v1.23.0 User Manual

Page 67

background image

Configuring Readers

Level 2 API

67

/reader/powerMode

Type: SerialReader.PowerMode

Default value: From reader

Writable: yes

Products: M5e (and derived products), M6e

Controls the power-consumption mode of the reader as a whole.



M6e Notes- Certain power modes require special command protocols in order to

“wake up” the module before the beginning of the first command. Setting the
powerMode prior to calling reader.Connect() allows the connect sequence to issue
the appropriate signals, speeding up the connect.

/reader/transportTimeout

Type: int

Default value: 1000

Writable: yes

Products: all

The number of milliseconds to allow for transport of the data over level 4 transport layer.
Certain transport layers, such as Bluetooth, may require longer timeouts.

/reader/userMode

Type: SerialReader.UserMode

Default value: From reader

Writable: yes

Products: M5e (and derived products)

Sets a number of protocol specific parameters for particular usecases.