Reader/commandtimeout, Reader/licensekey, Reader – ThingMagic Mercury API v1.23.0 User Manual

Page 66: Commandtimeout

Advertising
background image

Configuring Readers

66

Level 2 API



M5e Notes - The module always boots into 9600 baud resulting in a connection delay

due to the first attempt of connecting at the default /reader/baudRate of 115200. This
delay can be avoided by setting /reader/baudRate to 9600 before calling
Reader.Connect() then setting it again to the desired faster rate after the connect.



M6e Notes- The M6e boot baud rate can be modified. If the M6e boot baud rate is

changed it is recommended to set /reader/baudRate to the saved M6e boot baud
rate prior to Reader.Connect() to avoid the penalty of trying incorrect rates during
auto-detect.

/reader/commandTimeout

Type: int

Default value: 1000

Writable: yes

Products: all

Sets the timeout, in milliseconds, used by

Advanced Tag Operations

. This timeout specifies

how long the reader will continue to attempt a tag Operation before giving up. If it
succeeds before the specified timeout the operation completes and returns. If it hasn't
succeeded after repeatedly trying for the timeout period, it gives up and returns an
exception.

/reader/licenseKey

Type: Array of bytes

Default value: From reader

Writable: yes (not readable)

Products: M6e

Used to install licensed features, such as additional protocols

Advertising