Overview
This Tutorial provides a walk-through of the steps to determine device capabilities RFID3 API
Create The Project
- Start by creating a new project in Android Studio. For help, see the Android Studio tutorial.
- Refer Hello RFID to prepare basic setup to work with RFID Reader and then follow this guide
Details
RFD40 devices come in with different capabilities with respect to scanner support and WIFI/BT support. Following code snippet can be used once connected to find the capabilities of the device
public static HashMap versionInfo = new HashMap<>(5);
reader.Config.getDeviceVersionInfo(versionInfo);
String scannerName = Application.versionInfo.get(Application.versionInfo.get(“SCANNER_NAME”));
String BTADDR = Application.versionInfo.get(Application.versionInfo.get(“BD_ADDRESS”));
Based on the values returned by scannerName and BTADDR You can determine if device supports scanner and BT/WIFI. Values will contain valid scanner version and BT address.