![]() |
BALTECH Docs |
BALTECH SDK wrapper functions reference
|
| brp_errcode brp_AR_SetMode | ( | brp_AR_SetMode_t | params | ) |
This command controls Autoread mode at runtime.
Usually, the Autoread subsystem will be stared at boot time if the reader is configured to work autonomously. However, you can still enable and disable Autoread at runtime. This is e.g. needed if you use VHL & Autoread in combination, so you can interrupt Autoread to run VHL commands.
**_AR.SetMode_ automatically empties the reader's message buffer. This ensures that the next brp_AR_GetMessage() you run doesn't return "old" data from a card detected before running AR.SetMode .**
| [in] | params | Struct with the following fields:
|