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 AR.GetMessage you run doesn't return "old" data from a card detected before running AR.SetMode.
- Command code: 0x0500
- Command timeout: 1000 ms
- Possible status codes: General status codes
Parameters (request frame)
|Mode||Enumeration (8 bits)||
Defines if Autoread is active, so the reader scans autonomously for cards.
The reader will disable Autoread mode automatically if you execute a card-accessing command (e.g VHL.Select ).
Returned values (response frame)