Autoread with bidirectional communication via BRP
- You want to read a number from the card.
(For all other read operations, use VHL.)
- You want to control reader feedback (e.g. LED and beeper) via the host.
- You want to update the firmware or configuration via the host.
- You don't mind retrieving read results from the reader (this is not time critical).
What is Autoread?
The reader scans for cards and reads them autonomously (learn more).
How it works
This implementation is based on BALTECH Reader Protocol (BRP). To keep your effort low, we provide an SDK for the most common platforms.
- Configure the reader for your cards type(s). You can use our GUI tools in BALTECH ToolSuite to conveniently create and deploy the configuration (including wireless deployment options).
- The reader autonomously polls for cards and reads them.
- Once it has read a card, the reader buffers the read result in an internal queue for 5 seconds, so the host can retrieve it. (If the host is implemented as an Ethernet server, this step requires the reader to open a connection first.)
- Define reader feedback (e.g. LED and beeper) as part of the reader configuration. Alternatively, control the feedback (and other hardware functionality) directly via the host.
- USB HID (recommended with the SDK)
- USB virtual COM port (recommended when not using the SDK, required for RDP)
- Ethernet (host as client/host as server)
Use Autoread unidirectional if:
- You can't use the SDK.
- You don't want to actively retrieve read results.
Configure the reader
To prepare readers for access from your application, create a configuration for the readers. Alternatively, you can order a configuration from us.
- A Windows computer with BALTECH ToolSuite installed
- A test reader you can connect to your computer.
If the productive reader type doesn't provide a USB connection, we recommend you use an ID-engine ZB to create and test the configuration.
To configure the reader:
To control access permissions and set up authenticated and encrypted communication, you can additionally configure Authentication and Encryption.
Configure the test reader to later test your application.
Set up SDK
The easiest way to use BRP is the BALTECH SDK, available for Windows, macOS, and Linux.
My platform's not supported
If you can't use the SDK, you can create the BRP command frames yourself. Please refer to the BRP specification and example frames. You may also want to look into implementing unidirectional communication instead, as it's usually quicker to implement.
To set up the SDK:
- Download the SDK from our website.
- Get familiar with its components. We recommend you get started by trying out the app notes.
- Integrate the SDK into your application.
- Set up a protocol stack to be able to run commands.
Run AR.GetMessage to poll the reader for a detected card and its number.
Polling stops working during your tests?
Then Autoread may have been disabled automatically. This happens when you run a VHL or low-level command, but also when you start BALTECH ID-engine Explorer (as it uses VHL internally). So if you stop receiving read results in your application, please close ID-engine Explorer. Then perform a power-on reset on the reader or run the AR.SetMode command again.
For more tips on troubleshooting, please have a look at our troubleshooting guide.
Reader hardware control
There are various commands to control the reader hardware. You can control reader feedback (e.g. LED and beeper), reboot the reader, check its firmware version, etc.
That's it for the development part. The next step is to integrate the readers with your application. For the full workflow, please refer to this step-by-step guide.
If this is done by someone else, please hand them your configuration. Make sure you release the configuration first.
Troubleshooting & support
Got stuck somewhere along the way? Don't worry, we'll help you troubleshoot: