Listing-Devices

RFID SDK for Android 2.0.3.162

Applicable Devices : Handheld Readers

Overview

This Tutorial provides a walk-through of the steps to list devices connected through bluetooth, USB, Serial.

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

Listing Devices connected through Bluetooth


            Readers readers = new Readers (this, ENUM_TRANSPORT.BLUETOOTH);
            readerList = readers.GetAvailableRFIDReaderList();                                                                
        

Listing Devices connected through Serial


            Readers readers = new Readers (this, ENUM_TRANSPORT.SERIAL);
            readerList = readers.GetAvailableRFIDReaderList();                                                               
                                                

Listing Devices connected through USB


            Readers readers = new Readers (this, ENUM_TRANSPORT.USB);
            readerList = readers.GetAvailableRFIDReaderList();