beautypg.com

Reader configuration parameters, Reader, Reader/baudrate – ThingMagic Mercury API v1.23.0 User Manual

Page 65: Reader 65, Configuration parameters, This can avoid attempts using the wrong baud, Reader configuration, Parameters, Under, Parameters can be found in the

background image

Configuring Readers

Level 2 API

65



/reader/baudRate

Future firmware upgrades will support saving other configuration values.

To Save a configuration, simple set the parameters as desired then set the

/reader/

userConfig

parameter to a

SerialReader.UserConfigOp with the appropriate

parameter.

See the

Example Code

Codelets\SavedConfig for an example of saving and restoring

configurations on the M6e.

Reader Configuration Parameters

The following are all the available parameters broken down by grouping:

/reader

/reader/baudRate

Type: integer

Default value: 115200

Writable: yes

Products: M5e (and derived products), M6e

This parameter (present on serial readers only) controls the speed that the API uses to
communicate with the reader once communication has been established. When a
Reader.Connect() occurs the serial baud rate is “auto-detected” by attempting supported
baud rates in the following order:

1. value of /reader/baudRate

2. 9600

3. 115200

4. 921600

5. remaining supported baud rates in increasing order

Once connected if the connection baud rate is not the same as the value of /reader/
baudRate the module’s baudrate will be changed to /reader/baudRate.