Class Reader

    • Field Detail

      • _usbCommunication

        protected static com.rfideas.pcproxapisdk.UsbCommunication _usbCommunication
      • _usbDevice

        protected static android.hardware.usb.UsbDevice _usbDevice
      • ledControl

        protected static LEDControl ledControl
      • _isLoon

        public static boolean _isLoon
      • config

        protected static com.rfideas.pcproxapisdk.Configuration[] config
      • _maxConfig

        protected static int _maxConfig
      • _luid

        protected static int _luid
      • _did

        protected static java.lang.String _did
      • inputChecker

        protected static com.rfideas.pcproxapisdk.InputChecker inputChecker
      • queuedID

        public static QueuedID queuedID
      • typeOfInterface

        protected static java.lang.String typeOfInterface
      • isTimeParamsDirty

        protected static boolean isTimeParamsDirty
      • isLUIDDirty

        protected static boolean isLUIDDirty
      • isEEX1ParamsDirty

        protected static boolean isEEX1ParamsDirty
      • isIDFrmtParmsDirty

        protected static boolean isIDFrmtParmsDirty
      • isIDFrmtParms2Dirty

        protected static boolean isIDFrmtParms2Dirty
      • isSepFldDataDirty

        protected static boolean isSepFldDataDirty
      • isVolatileMemory

        protected static boolean isVolatileMemory
      • cardList

        protected static java.lang.String[] cardList
      • _lLastErr

        protected static byte _lLastErr
      • validCRC

        protected static boolean validCRC
      • readerType

        protected static int readerType
    • Constructor Detail

      • Reader

        protected Reader​(android.hardware.usb.UsbDeviceConnection usbDeviceConnection,
                         android.hardware.usb.UsbDevice usbDevice,
                         com.rfideas.pcproxapisdk.UsbCommunication usbCommunication)
                  throws SDKException,
                         java.lang.CloneNotSupportedException
        Throws:
        SDKException
        java.lang.CloneNotSupportedException
    • Method Detail

      • checkConfiguration

        public static void checkConfiguration​(int configurationIndex)
                                       throws SDKException
        Throws:
        SDKException
      • IsCardTypeInList

        public boolean IsCardTypeInList​(java.lang.String cardType)
        Description copied from interface: ReaderIntrface
        Is CardType in list? If the given card type is in the pcProx Plus Firmware List Return TRUE, else return FALSE. A 0 card type (CARDTYPE_OFF) is always in the list and returns TRUE. If the pcProx Plus does not have a list then all cards types are assumed to be in the list.
        Specified by:
        IsCardTypeInList in interface ReaderIntrface
        Parameters:
        cardType - 0..FFFF
        Returns:
        TRUE card type in list -- FALSE not in list
        See Also:
        GetCardType()
      • GetCardType

        public int GetCardType​(int configurationIndex)
                        throws SDKException
        Description copied from interface: ReaderIntrface
        Get the Card Type 0x0000..0xFFFE for the given configuration.
        Specified by:
        GetCardType in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration.
        Returns:
        0..0xFFFE for valid card types. -1 for error, disconnected, or non pcProx Plus reader.
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.SetCardTypePriority(int, int, int)
      • GetCardPriority

        public int GetCardPriority​(int configurationIndex)
                            throws SDKException
        Description copied from interface: ReaderIntrface
        Get the Card Priority for the configuration index. The Priority is 0 or 1, and -1 indicates an error.
        Specified by:
        GetCardPriority in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration.
        Returns:
        0 = Low priority, 1 = high priority, -1 error.
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.SetCardTypePriority(int, int, int)
      • SetCardTypePriority

        public boolean SetCardTypePriority​(int configurationIndex,
                                           int cardType,
                                           int cardPriority)
                                    throws SDKException
        Description copied from interface: ReaderIntrface
        Set the Card Type 0x0000..0xFFFF and the card priority for the given configuration index. Card types not understood by the device firmware are ignored and will return as (0x0000) OFF.

        The priority bit if non-zero will have priority over other configurations that are set to zero. The priority allows dual frequency cards or multiple cards to be read in a predictable manner.

        Only one configuration should have the priority bit set, otherwise unpredictable results may occur on multiple card reads.

        It is not applicable for single config readers.

        Specified by:
        SetCardTypePriority in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        cardType - 16 bit card type
        cardPriority - 0 for low and 1 for high
        Returns:
        True = success , False = failure.
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or priority value is other than 0 or 1 or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetCardType(int), ReaderIntrface.GetCardPriority(int)
      • GetDevName

        public java.lang.String GetDevName()
        Description copied from interface: ReaderIntrface
        This API is used to get the device name.

        e.g. "/dev/bus/usb/001/002"

        Specified by:
        GetDevName in interface ReaderIntrface
        Returns:
        Device Name String
      • getPartNumberString

        public java.lang.String getPartNumberString()
                                             throws SDKException
        Description copied from interface: ReaderIntrface
        Read the device part number string. This is a 24 character string such as "RDR-80581AKU" and null terminated.
        Specified by:
        getPartNumberString in interface ReaderIntrface
        Returns:
        String value of device part number
        Throws:
        SDKException - if there is a failure in USB communication.
      • GetVidPidVendorName

        public java.lang.String GetVidPidVendorName()
                                             throws SDKException
        Description copied from interface: ReaderIntrface
        This Api will return the VendorName string for the active device. This comes from the optional pcProxVidPid.txt file.
        Specified by:
        GetVidPidVendorName in interface ReaderIntrface
        Returns:
        String value of device vendor Name
        Throws:
        SDKException - if there is a failure in USB communication.
      • getESN

        public char[] getESN()
                      throws SDKException
        Description copied from interface: ReaderIntrface
        This Api will Returns the 32 byte electronic serial number embedded in the processor chip.
        Specified by:
        getESN in interface ReaderIntrface
        Returns:
        32 byte String ESN for loon USB readers and else return NULL.
        Throws:
        SDKException - if there is a failure in USB communication.
      • BeepNow

        public void BeepNow​(byte count,
                            java.lang.Boolean longBeep)
                     throws SDKException
        Description copied from interface: ReaderIntrface
        Call this function with the number of desired short or long beeps.
        Specified by:
        BeepNow in interface ReaderIntrface
        Parameters:
        count - 1..N beeps, Range is 1..5 for short beeps and 1..2 for long beeps
        longBeep - long Beep = true, short beep = false
        Throws:
        SDKException - if count exceeds permissible range
      • SetBeeperVolume

        public boolean SetBeeperVolume​(byte volumeLevel)
                                throws SDKException
        Description copied from interface: ReaderIntrface
        Sets the volume level for the pcProx Plus (version 2)(loon) reader.
        Specified by:
        SetBeeperVolume in interface ReaderIntrface
        Parameters:
        volumeLevel - volumeLevel in range 0..3,
        • 0-off
        • 1-low
        • 2-med
        • 3-High
        Returns:
        true if successful, false otherwise
        Throws:
        SDKException - if Volume level is less than zero or greater than 3
        See Also:
        ReaderIntrface.GetBeeperVolume()
      • GetBprRlyCtrl

        public BprRlyCtrl GetBprRlyCtrl​(int configurationIndex)
                                 throws SDKException,
                                        java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Get beeper (and relay on OEM W2-USB readers) controls.
        Specified by:
        GetBprRlyCtrl in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Returns:
        BprRlyCtrl object
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.GetBprRlyCtrl(int)
      • ResetFactoryDefaults

        public void ResetFactoryDefaults()
                                  throws SDKException,
                                         java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        This sets the device configuration to the Factory Default values. It is like a ReaderIntrface.WriteCfg(int) call.

        Before returning to the caller, this function calls ReadCfg() to reload the configuration information (which may have changed) into the library memory.

        Specified by:
        ResetFactoryDefaults in interface ReaderIntrface
        Throws:
        SDKException - if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
      • pcProxPlusDefaults

        public boolean pcProxPlusDefaults()
                                   throws java.lang.InterruptedException,
                                          SDKException
        Description copied from interface: ReaderIntrface
        Reset pcProx Plus to defaults. This copies the Default settings configurations to the Active settings configurations and Stored Settings. You will need to call ReadCfg() to get the changed settings into your application.
        Specified by:
        pcProxPlusDefaults in interface ReaderIntrface
        Returns:
        TRUE success / FALSE Fail
        Throws:
        java.lang.InterruptedException
        SDKException
        See Also:
        ResetUserDflts()
      • SaveUserDflts

        public boolean SaveUserDflts()
                              throws java.lang.InterruptedException,
                                     SDKException
        Description copied from interface: ReaderIntrface
        Save Current As USER Default Configuration Save the current device's working configuration as the user defaults. user defaults. Execution time ~ 2 seconds. For pcProx Plus this Writes the stored settings.
        Specified by:
        SaveUserDflts in interface ReaderIntrface
        Returns:
        TRUE success / FALSE Fail
        Throws:
        java.lang.InterruptedException
        SDKException
        See Also:
        ResetUserDflts()
      • GetActiveID

        public short GetActiveID​(int[] buffer,
                                 short bufferMaximumSize)
                          throws SDKException
        Description copied from interface: ReaderIntrface
        Reads the active data from the card "presently on the reader". This function will return the number of bits read. The buffer passed in arguments is populated with card data.

        It is recommended you do not call this faster than 250 msec, or about twice the data hold time of the active card. Call sooner than 250 msec will not be sent to the reader but will return cached data.

        It is valid only for cards less than 64 bits.

        Specified by:
        GetActiveID in interface ReaderIntrface
        Parameters:
        buffer - It is an empty int array of desired size. It will be populated with the active data from the card
        bufferMaximumSize - It specifies the size of the byte buffer. Maximum value is 8, if the value provided is more than 8, it will automatically reset to 8.
        Returns:
        It returns number of bits read from the reader representing the card ID

        It does NOT include the parity bits that may have been stripped from the ID through the use of the leading and/or trailing parity bit counts.

        A return value of zero means there is either no card within RF field or an error was encountered or a wrong card was presented.

        Throws:
        SDKException - if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetActiveID32(int[], short)
      • GetActiveID32

        public short GetActiveID32​(int[] buffer,
                                   short bufferMaximumSize)
                            throws SDKException
        Description copied from interface: ReaderIntrface
        This is the 32 byte version of ReaderIntrface.GetActiveID(int[], short) for the readers to get the card ID with up to 255 bits of data. Cards with larger ID's than 64 bits will be truncated with ReaderIntrface.GetActiveID(int[], short), so this function is recommended instead. This function will return the number of bits read. The buffer passed in arguments is populated with card data.

        It is recommended you do not call this faster than 250 msec, or about twice the data hold time of the active card. Call sooner than 250 msec will not be sent to the reader but will return cached data.

        Specified by:
        GetActiveID32 in interface ReaderIntrface
        Parameters:
        buffer - an empty int array of desired size. It will be populated with the active data from the card
        bufferMaximumSize - It specifies the size of the byte buffer. Maximum value is 32, if the value provided is more than 32, it will automatically reset to 32
        Returns:
        Number of bits Read 0..255

        It does NOT include the parity bits that may have been stripped from the ID through the use of the leading and/or trailing parity bit counts.

        A return value of zero means there is either no card within RF field or an error was encountered or a wrong card was presented.

        Throws:
        SDKException - if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetActiveID(int[], short)
      • GetQueuedID

        public boolean GetQueuedID​(short clearUID,
                                   short clearHold)
                            throws SDKException
        Description copied from interface: ReaderIntrface
        Read the Queued ID data from the reader. This returns the last card read by the reader, age and overrun counter. The age is is from 0 - 0x00FFFF in 48msec units up to 52 minutes The overrun is the number of cards read before the UID was transfered to the PC. It is recommended not to call this faster than 250ms, or about twice the data hold time of the active card. After this call returns TRUE (Success) you may call GetQueuedID_index()
        Specified by:
        GetQueuedID in interface ReaderIntrface
        Parameters:
        clearUID - if clearUID is set then the card, and overrun counters will be cleared for the next read.
        clearHold - if clearHold is set then the reader is ready to read another card immediately.
        Returns:
        Returns TRUE success, or FALSE failed (perhaps function is not available in the firmware)
        Throws:
        SDKException
      • GetQueuedID_index

        public java.lang.String GetQueuedID_index​(short index)
        Description copied from interface: ReaderIntrface
        Return specific part of the data read by GetQueuedID() GetQueuedID() actuall gets data from the reader this funtions just marshalls the data back to the caller. GetQueuedID_index() index 0 .. 35
        Specified by:
        GetQueuedID_index in interface ReaderIntrface
        Returns:
        index 0..31 = Bytes 0.. 31 of the UserID index 32 = String Number of bits read 0-256 index 33 = String Age (16 bits) 0 - 65,535 48msec ticks or 0 to 52 minutes index 34 = String Overrun counter number of cards before UID transfered to PC. index 35 = String lockout timer 0-256 (0=ready to read) Overrun clipped at 255, and age clipped at 0x00FFFF
        See Also:
        GetQueuedID()
      • ReadCfg

        public void ReadCfg​(int configurationIndex)
                     throws SDKException,
                            java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        A call to this function pulls the device configuration information into the library memory space to be manipulated by the Get*() and Set*() functions. After altering the data the user must call ReaderIntrface.WriteCfg(int) to write the changes back to device so they can take effect.
        Specified by:
        ReadCfg in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration.
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.WriteCfg(int)
      • WriteCfg

        public void WriteCfg​(int configurationIndex)
                      throws SDKException,
                             java.lang.InterruptedException,
                             java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        A call to this function writes all configuration information in the library memory space to the device for non-volatile storage. Any changed parameters take effect immediately after ReaderIntrface.WriteCfg(int).

        The actual write internally within the device is not done until all critical pending actions are complete. This may take up to two seconds, typically 1200 msec to complete.

        pcProx Plus(version 2) readers takes only 20ms to complete the write.

        Specified by:
        WriteCfg in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.InterruptedException
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.ReadCfg(int)
      • ReadDevCfgFmFile

        public void ReadDevCfgFmFile​(java.io.FileInputStream HWGinputStream)
                              throws java.io.IOException,
                                     SDKException,
                                     java.lang.InterruptedException,
                                     java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Open and read an ASCII file and load the setting into the reader.This function reads files created with the ReaderIntrface.WriteDevCfgToFile(OutputStream) function.
        Specified by:
        ReadDevCfgFmFile in interface ReaderIntrface
        Parameters:
        HWGinputStream - object an instance of FileInputStream created from a hwg file
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.io.IOException
        java.lang.InterruptedException
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.WriteDevCfgToFile(OutputStream)
      • WriteDevCfgToFile

        public void WriteDevCfgToFile​(java.io.OutputStream HWGoutputStream)
                               throws java.io.IOException,
                                      SDKException,
                                      java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Write an ASCII file with all the setting of most recent the device setting read by ReadCfg(). This writes the buffered data held by the library to a file. The user should call ReadCfg() or WriteCfg() to make sure the correct values are sync'ed with the device memory. The file can be loaded back into the device with function ReadDevCfgFmFile().
        Specified by:
        WriteDevCfgToFile in interface ReaderIntrface
        Parameters:
        HWGoutputStream - object
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.io.IOException
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.ReadDevCfgFmFile(FileInputStream)
      • WriteDevCfgToSecureFile

        public void WriteDevCfgToSecureFile​(java.io.OutputStream HWGoutputStream,
                                            java.io.FileInputStream HWGInputStream)
                                     throws java.io.IOException,
                                            SDKException,
                                            java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Write an ASCII file with all the setting of most recent the device setting read by ReadCfg(). This writes the buffered data held by the library to a file. The user should call ReadCfg() or WriteCfg() to make sure the correct values are sync'ed with the device memory. The file can be loaded back into the device with function ReadDevCfgFmFile(). It will generate the Secure key for the file and append at the end of the file
        Specified by:
        WriteDevCfgToSecureFile in interface ReaderIntrface
        Parameters:
        HWGoutputStream - object
        HWGInputStream - object an instance of FileInputStream created from the same hwg file that you opened for writing.
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.io.IOException
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.ReadDevCfgFmSecureFile(FileInputStream)
      • SetActConfig

        public void SetActConfig​(byte configurationIndex)
                          throws SDKException
        Description copied from interface: ReaderIntrface
        Set the active configuration ( 0..N ) of the pcProx Plus device. pcProx Plus readers will return 0, 1, 2..N and Non pcProx Plus readers will return 0.
        Specified by:
        SetActConfig in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
      • GetActConfig

        public byte GetActConfig()
                          throws SDKException
        Description copied from interface: ReaderIntrface
        Get the active configuration ( 0..N ) of the pcProx Plus. For devices that only have one configuration this will return 0. All devices have one configuration, so zero is always valid.
        Specified by:
        GetActConfig in interface ReaderIntrface
        Returns:
        Throws:
        SDKException
      • GetMaxConfig

        public int GetMaxConfig()
        Description copied from interface: ReaderIntrface
        Get number of configurations present in the reader. For pcProx Plus dual frequency readers this will be 1 or more and 0 for Legacy non pcProx Plus readers.
        Specified by:
        GetMaxConfig in interface ReaderIntrface
        Returns:
        0..N-1: 0 for non pcProx Plus, 1 or more for pcProx Plus. Here N stands for maximum configuration.
      • isLoon

        public boolean isLoon()
        Description copied from interface: ReaderIntrface
        Checks whether a reader is loon or not.
        Specified by:
        isLoon in interface ReaderIntrface
        Returns:
        true for loon readers, false otherwise
      • getDid

        public java.lang.String getDid()
                                throws SDKException
        Description copied from interface: ReaderIntrface
        Returns the firmware version Major,Minor,Build as bits 15..8 Bits 7..4 and bits 3..0 respectively. Example: 0x0F12 = 15.1.2 Note: Do not compare version numbers from the pcProx firmware to enable or disable functions in your application as firmware version can change. The firmware version is for reference only and should not be used to make decision on what features are available.
        Specified by:
        getDid in interface ReaderIntrface
        Returns:
        Firmware version
        Throws:
        SDKException
      • GetFWFilename

        public java.lang.String GetFWFilename()
                                       throws SDKException
        Description copied from interface: ReaderIntrface
        Reads the device firmware filename.

        e.g. "LNC160700UBX700". Works only for loon readers.

        Specified by:
        GetFWFilename in interface ReaderIntrface
        Returns:
        String value of Firmware Filename on success
        Throws:
        SDKException - if there is a failure in USB communication.
      • GetFullFWVersion

        public java.lang.String GetFullFWVersion()
                                          throws SDKException
        Description copied from interface: ReaderIntrface
        Reads the device's full Firmware version including the String version number.

        e.g. "16.07.0-7715". Works only for loon readers.

        Specified by:
        GetFullFWVersion in interface ReaderIntrface
        Returns:
        Returns the Firmware version with the string version number for loon readers having version number 16.7 or greater. In case of failure it returns Null.
        Throws:
        SDKException - if there is a failure in USB communication.
      • GetFirmwareVersion

        public long GetFirmwareVersion​(short hardware,
                                       short module)
                                throws SDKException
        Description copied from interface: ReaderIntrface
        Some devices have multiple firmware versions to report. This function returns the long firmware version of the hardware and module pair. Not all modules are available for all hardware. These return 0 for unavailable. The version 0x01023456 can be expressed as "1.2.34.56". Note: Do not compare version numbers from the pcProx firmware to enable or disable functions in your application as firmware version can change. The firmware version is for reference only. For pcSwipe only Hardware "Main Cpu" App and bootloader are available.
        Specified by:
        GetFirmwareVersion in interface ReaderIntrface
        Parameters:
        hardware - Hardware 0 = Main CPU, 1 = Aux Cpu, 2-FF unused
        module - IModule 0 = Application, 1 = Bootloader, 2 = Modem
        Returns:
        long value for valid versions, 0 indicates unavailable.
        Throws:
        SDKException - if there is a failure in USB communication.
      • SetBLEConfiguration

        public void SetBLEConfiguration​(byte level)
                                 throws SDKException
        Description copied from interface: ReaderIntrface
        Sets the BLE configuration of the reader.
        Specified by:
        SetBLEConfiguration in interface ReaderIntrface
        Parameters:
        level - 0, 1, 2, 3 or 4
        • 0:BLE off/125KHz-13.56MHz radios off
        • 1:BLE off/125KHz-13.56MHz radios on
        • 2:BLE on/125KHz-13.56MHz radios off
        • 3:BLE on/125KHz-13.56MHz radios on
        • 4:BLE off/125KHz-13.56MHz radios toggle
        Throws:
        SDKException - if there is a failure in USB communication or level is not between 0-4.
        See Also:
        ReaderIntrface.GetBLEConfiguration()
      • GetBLEConfiguration

        public int GetBLEConfiguration()
                                throws SDKException
        Description copied from interface: ReaderIntrface
        Gets the BLE configuration of the reader. It is applicable only for loon readers which support bluetooth functionality.
        Specified by:
        GetBLEConfiguration in interface ReaderIntrface
        Returns:
        level:
        • 0 for BLE off/125KHz-13.56MHz radios off
        • 1 for BLE off/125KHz-13.56MHz radios on
        • 2 for BLE on/125KHz-13.56MHz radios off
        • 3 for BLE on/125KHz-13.56MHz radios on
        • -1 for unsupported readers
        Throws:
        SDKException - if there is a failure in USB communication.
        See Also:
        ReaderIntrface.SetBLEConfiguration(byte)
      • GetFlags

        public ConfigurationFlags GetFlags​(int configurationIndex)
                                    throws SDKException,
                                           java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Returns ConfigurationFlags object for the given configuration index. ConfigurationFlags contains:
        • boolean bFixLenDsp:

          It will return whether the send fixed length FAC/ID is set or not

        • boolean bFrcBitCntEx:

          It will return whether the read bit count to be exact to be valid is set or not

        • boolean bStripFac:

          It returns whether the stripping of the FAC from the ID (not discarded) is set or not

        • boolean bSndFac:

          It returns whether the send FAC (if stripped from data) is set or not

        • boolean bUseDelFac2Id:

          It gives the delimiter placed between FAC and ID on send

        • boolean bNoUseELChar:

          It gives the termination keystroke set i.e. the last character after card ID (default to ENTER)

        • boolean bSndOnRx:

          It sends valid ID as soon as it is received (iIDLockOutTm timer not used)

        • boolean bHaltKBSnd:

          When set true,it dies not send keys to USB i.e. itdisables key strokes

        Specified by:
        GetFlags in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Returns:
        ConfigurationFlags object
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.SetFlags(ConfigurationFlags, int)
      • SetFlags

        public void SetFlags​(ConfigurationFlags configurationFlags,
                             int configurationIndex)
                      throws SDKException
        Description copied from interface: ReaderIntrface
        Sets ConfigurationFlags object for the given configuration index. ConfigurationFlags contains:
        • boolean bFixLenDsp:

          If set to true it will set the FAC digits and the ID digits to the number specified by the user

        • boolean bFrcBitCntEx:

          It forces the read bit count to be exact to be valid

        • boolean bStripFac:

          It sets the stripping of the FAC from the ID (not discarded)

        • boolean bSndFac:

          When true, it allows to Send the FAC (if stripped from data)

        • boolean bUseDelFac2Id:

          It puts a delimiter between FAC and ID on send

        • boolean bNoUseELChar:

          It sets the termination keystroke i.e. the last character after card ID (default to ENTER)

        • boolean bSndOnRx:

          It sends valid ID as soon as it is received (iIDLockOutTm timer not used)

        • boolean bHaltKBSnd:

          When set true,it dies not send keys to USB i.e. itdisables key strokes

        Specified by:
        SetFlags in interface ReaderIntrface
        Parameters:
        configurationFlags - ConfigurationFlags object
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetFlags(int)
      • GetFlags2

        public ConfigurationFlags2 GetFlags2​(int configurationIndex)
                                      throws SDKException,
                                             java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Returns ConfigurationFlags2 object for the given configuration index. ConfigurationFlags2 contains:
        • boolean bUseLeadChrs:

          It returns whether the Use leading chars in ID KB send is set or not

        • boolean bDspHex:

          It returns whether display ID as ASCII Hex [not ASCII decimal] is set or not

        • boolean bWiegInvData:

          It returns whether the wiegand data on pins is inverted or not

        • boolean bUseInvDataF:

          It returns whether the bWiegInvData flag over hardware setting is set or not

        • boolean bRevWiegBits:

          It returns whether the reverse the Wiegand read bits is set or not

        • boolean bBeepID:

          It returns whether the beep when ID is received is set or not

        • boolean bRevBytes:

          It returns whether the reverse the byte order (CSN reader) is set or not

        Specified by:
        GetFlags2 in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Returns:
        ConfigurationFlags2 object
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.SetFlags2(ConfigurationFlags2, int)
      • SetFlags2

        public void SetFlags2​(ConfigurationFlags2 configurationFlags2,
                              int configurationIndex)
                       throws SDKException
        Description copied from interface: ReaderIntrface
        Sets ConfigurationFlags2 object for the given configuration index. ConfigurationFlags2 contains:
        • boolean bUseLeadChrs:

          It is set to Use leading chars in ID KB send

        • boolean bDspHex:

          It is set to display ID as ASCII Hex [not ASCII decimal]l

        • boolean bWiegInvData:

          It is set if wiegand data on pins is inverted

        • boolean bUseInvDataF:

          It is set to use the bWiegInvData flag over hardware setting

        • boolean bRevWiegBits:

          It is set to reverse the Wiegand read bits

        • boolean bBeepID:

          It is set to let the device beep when ID is received

        • boolean bRevBytes:

          It is set to reverse the byte order (CSN reader)

        Specified by:
        SetFlags2 in interface ReaderIntrface
        Parameters:
        configurationFlags2 - ConfigurationFlags2 object
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetFlags2(int)
      • GetFlags3

        public ConfigurationFlags3 GetFlags3​(int configurationIndex)
                                      throws SDKException,
                                             java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Returns ConfigurationFlags3 object for the given configuration index. ConfigurationFlags3 contains:
        • boolean bUseNumKP:

          Euro Keyboard flag

        • boolean bSndSFON:

          Split format ON = 1, old combined scheme = 0

        • boolean bSndSFFC:

          It allows to send FAC as hexadecimal number in keystroke output. 0 = FAC Decimal, 1 = FAC Hex

        • boolean bSndSFID:

          It allows to send ID as hexadecimal number in keystroke output. 0 = ID as decimal, 1 = ID as hex.

        • boolean bPrxProEm:

          Emulate serial data format to match HID Corp. Prox Pro reader by sending a 2 byte checksum after the card data

        • boolean bUse64Bit:

          It sets the Extended precison math on for ID. 0 = 32-bit, 1 = 64-bit.

        • boolean bNotBootDev:

          USB Enum: 0=BootDevice, 1=NOTBootDevice

        • boolean bLowerCaseHex:

          Keystroke out the card data in lowercase hexadecimal. 0 = uppercase hexadecimal, 1 = lowercase hexadecimal

        Specified by:
        GetFlags3 in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Returns:
        ConfigurationFlags3 object
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.SetFlags3(ConfigurationFlags3, int)
      • SetFlags3

        public void SetFlags3​(ConfigurationFlags3 configurationFlags3,
                              int configurationIndex)
                       throws SDKException,
                              java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Sets ConfigurationFlags3 object for the given configuration index. ConfigurationFlags3 contains:
        • boolean bUseNumKP:

          Euro Keyboard flag

        • boolean bSndSFON:

          Split format ON = 1, old combined scheme = 0

        • boolean bSndSFFC:

          It allows to send FAC as hexadecimal number in keystroke output. 0 = FAC Decimal, 1 = FAC Hex

        • boolean bSndSFID:

          It allows to send ID as hexadecimal number in keystroke output. 0 = ID as decimal, 1 = ID as hex.

        • boolean bPrxProEm:

          Emulate serial data format to match HID Corp. Prox Pro reader by sending a 2 byte checksum after the card data

        • boolean bUse64Bit:

          It sets the Extended precison math on for ID. 0 = 32-bit, 1 = 64-bit.

        • boolean bNotBootDev:

          USB Enum: 0=BootDevice, 1=NOTBootDevice

        • boolean bLowerCaseHex:

          Keystroke out the card data in lowercase hexadecimal. 0 = uppercase hexadecimal, 1 = lowercase hexadecimal

        Specified by:
        SetFlags3 in interface ReaderIntrface
        Parameters:
        configurationFlags3 - ConfigurationFlags3 object
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.GetFlags3(int)
      • GetIDDispParms

        public IdDisplayParameters GetIDDispParms​(int configurationIndex)
                                           throws SDKException,
                                                  java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        To get IdDisplayParameters. IdDisplayParameters conatins:
        • short iFACIDDelim:

          If bStripFac & bSndFac & bUseDelFac2Id, this char is sent between FAC & ID. This delimiter appears as a seperator between FAC and ID in keystroke output

        • short iELDelim:

          If NOT bNoUseELChar, this char when set appears at the end of the ID in keystroked card output

        • short iDDispLen:

          If bFixLenDsp is true, ID is padded with zeros/stripped to achieve this length

        • short iFACDispLen:

          If bFixLenDsp is true, FAC is padded with zeros/stripped to achieve this length

        • short iExOutputFormat:

          This allows to choose one of the two format modes: data format or extend mode(if supported by reader)

        Specified by:
        GetIDDispParms in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Returns:
        IdDisplayParameters object
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.SetIDDispParms(IdDisplayParameters, int)
      • SetIDDispParms

        public void SetIDDispParms​(IdDisplayParameters idDisplayParameters,
                                   int configurationIndex)
                            throws SDKException
        Description copied from interface: ReaderIntrface
        Set display parameters IdDisplayParameters to control how the card ID is displayed when keystroked out or sent serially on serial and RS-232 readers.IdDisplayParameters contains:
        • short iFACIDDelim:

          If bStripFac & bSndFac & bUseDelFac2Id, this char is sent between FAC & ID. This delimiter appears as a seperator between FAC and ID in keystroke output

        • short iELDelim:

          If NOT bNoUseELChar, this char when set appears at the end of the ID in keystroked card output

        • short iDDispLen:

          If bFixLenDsp is true, ID is padded with zeros/stripped to achieve this length

        • short iFACDispLen:

          If bFixLenDsp is true, FAC is padded with zeros/stripped to achieve this length

        • short iExOutputFormat:

          This allows to choose one of the two format modes: data format or extend mode(if supported by reader)

        Specified by:
        SetIDDispParms in interface ReaderIntrface
        Parameters:
        idDisplayParameters - Object
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if input values are out of allowed range or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetIDDispParms(int)
      • GetIDDispParms2

        public IdDisplayParameters2 GetIDDispParms2​(int configurationIndex)
                                             throws SDKException,
                                                    java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        To get IdDisplayParameters2 which contains:
        • short iLeadChrCnt:

          If bUseLeadChrs, then it is set with lead character counts(<=3). And according to the count, characters can be sent at the beginning of the card data. Three delimiters total are allowed and can be split between leading and trailing characters

        • short iLeadChr0:

          First Leading character. The char set will be displayed in the beginnning of card data.

        • short iLeadChr1:

          Second Leading character. If previous lead char is 0 then it will shift to previous position.

        • short iLeadChr2:

          Third Leading character. If previous lead char is 0 then it will shift to previous position.

        • short iCrdGnChr0:

          First card gone character. It is sent/ displayed in output when card is gone from the field

        • short iCrdGnChr0:

          Second card gone character. If the previous card gone char is zero then it will shift to the previous position

        Specified by:
        GetIDDispParms2 in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Returns:
        IdDisplayParameters2 object
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.SetIDDispParms2(IdDisplayParameters2, int)
      • SetIDDispParms2

        public void SetIDDispParms2​(IdDisplayParameters2 idDisplayParameters2,
                                    int configurationIndex)
                             throws SDKException
        Description copied from interface: ReaderIntrface
        To set IdDisplayParameters2. Mainly controls the leading and trailing delimiters. IdDisplayParameters2 contains:
        • short iLeadChrCnt:

          If bUseLeadChrs, then it is set with lead character counts(<=3). And according to the count, characters can be sent at the beginning of the card data. Three delimiters total are allowed and can be split between leading and trailing characters

        • short iLeadChr0:

          First Leading character. The char set will be displayed in the beginnning of card data.

        • short iLeadChr1:

          Second Leading character. If previous lead char is 0 then it will shift to previous position.

        • short iLeadChr2:

          Third Leading character. If previous lead char is 0 then it will shift to previous position.

        • short iCrdGnChr0:

          First card gone character. It is sent/ displayed in output when card is gone from the field

        • short iCrdGnChr0:

          Second card gone character. If the previous card gone char is zero then it will shift to the previous position

        Three delimiters total are allowed and can be split between leading and trailing characters
        Specified by:
        SetIDDispParms2 in interface ReaderIntrface
        Parameters:
        idDisplayParameters2 - Object
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if input values are out of allowed range or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetIDDispParms2(int)
      • GetIDDispParms3

        public IdDisplayParameters3 GetIDDispParms3​(int configurationIndex)
                                             throws SDKException,
                                                    java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        To get IdDisplayParameters3 which contains:
        • short iTrailChrCnt:

          It contains the trailing character count(<=3). The sum of iTrailChrCnt and iLeadChrCnt should be =<3. And according to the count, characters can be sent at the end of the card data (ID).

        • short iTrailChr0:

          First trailing character. The char set will be displayed in the end of the ID of card data.

        • short iTrailChr1:

          Second trailing character. If previous trailing char is 0 then it will shift to previous position.

        • short iTrailChr2:

          Third trailing character. If previous trailing char is 0 then it will shift to previous position.

        Specified by:
        GetIDDispParms3 in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Returns:
        IdDisplayParameters3 object
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.SetIDDispParms3(IdDisplayParameters3, int)
      • SetIDDispParms3

        public void SetIDDispParms3​(IdDisplayParameters3 idDisplayParameters3,
                                    int configurationIndex)
                             throws SDKException
        Description copied from interface: ReaderIntrface
        To set IdDisplayParameters3. Mainly controls the leading and trailing delimiters. IdDisplayParameters3 contains:
        • short iTrailChrCnt:

          It contains the trailing character count(<=3). The sum of iTrailChrCnt and iLeadChrCnt should be =<3. And according to the count, characters can be sent at the end of the card data (ID).

        • short iTrailChr0:

          First trailing character. The char set will be displayed in the end of the ID of card data.

        • short iTrailChr1:

          Second trailing character. If previous trailing char is 0 then it will shift to previous position.

        • short iTrailChr2:

          Third trailing character. If previous trailing char is 0 then it will shift to previous position.

        Specified by:
        SetIDDispParms3 in interface ReaderIntrface
        Parameters:
        idDisplayParameters3 - Object
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if input values are out of allowed range or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetIDDispParms3(int)
      • setLuid

        public void setLuid​(int luid)
                     throws SDKException
        Description copied from interface: ReaderIntrface
        Set Logical unit ID to device.
        Specified by:
        setLuid in interface ReaderIntrface
        Parameters:
        luid - It is a user defined 16-bit ID (0-65536) to be associated with the current device. When multiple devices are connected they may enumerate in random order and the LUID is the safest way to tell them apart.

        This does not write the configuration items to the device, just to library memory. Setting the reader to defaults does not erase the LUID. Use ReaderIntrface.WriteCfg(int) to write to device memory. Setting the reader to defaults does not erase the LUID.

        Throws:
        SDKException - if there is a failure in USB communication or LUID value is not in the allowed range.
        See Also:
        ReaderIntrface.getLuid()
      • GetIDBitCnts

        public IdBitCounts GetIDBitCnts​(int configurationIndex)
                                 throws SDKException,
                                        java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Returns IdBitCounts object for the given configuration index. IdBitCounts contains:
        • short iLeadParityBitCnt:

          It gives the number of most significant bits stripped. The number should be in range 0..15 for single config readers, 0..142 otherwise

        • short iTrailParityBitCnt:

          It gives the number of least significant bits stripped. The number should be in range 0..15 for single config readers, 0..142 otherwise

        • short iIDBitCnt:

          It gives the value of id bit field count which should be in range 0..255

        • short iTotalBitCnt:

          It gives the value of the total bit counts that can be read by the device. The value should be in range 26..255

        Specified by:
        GetIDBitCnts in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Returns:
        IdBitCounts object
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.SetIDBitCnts(IdBitCounts, int)
      • SetIDBitCnts

        public void SetIDBitCnts​(IdBitCounts idBitCounts,
                                 int configurationIndex)
                          throws SDKException,
                                 java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Sets IdBitCounts object for the given configuration index. IdBitCounts contains:
        • short iLeadParityBitCnt:

          It strips the most significant bits from the output of the card, as per the value passed in arguments. The value should be in range 0..15 for single config readers, 0..142 otherwise

        • short iTrailParityBitCnt:

          It strips the least significant bits from the output of the card, as per the value passed in arguments. The value should be in range 0..15 for single config readers, 0..142 otherwise

        • short iIDBitCnt:

          It sets the id field bit count as per the argument passed with it. The value should be in range 1..255

        • short iTotalBitCnt:

          It sets the value in argument to the total bits that can only be read by the card. The value should be in range 26..255

        Specified by:
        SetIDBitCnts in interface ReaderIntrface
        Parameters:
        idBitCounts - IdBitCounts object
        configurationIndex - 0..N-1, N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or input values exceeds the allowed range or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.GetIDBitCnts(int)
      • GetTimeParms

        public TimeParameters GetTimeParms​(int configurationIndex)
                                    throws SDKException,
                                           java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Returns TimeParameters object for the given Configuration index. TimeParameters contains:
        • short iBitStrmTO:

          Wiegand read T/O after this msec time (4ms). The range should be 0..1020

        • short iIDHoldTO:

          Card ID valid for this msec time (48ms). The range should be 0..12750

        • short iIDLockOutTm:

          Squelch repetitive reader reports (usually > 1000) in msec (48msec gran.). The range should be 0..12750

        • short iUSBKeyPrsTm:

          It sets USB inter-key 'Press' time in 4ms units. The range should be 0..1020

        • short iUSBKeyRlsTm:

          It sets USB inter-key 'Release' time in 4ms units. The range should be 0..1020

        Specified by:
        GetTimeParms in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Returns:
        TimeParameters object
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.SetTimeParms(TimeParameters, int)
      • SetTimeParms

        public void SetTimeParms​(TimeParameters timeParameters,
                                 int configurationIndex)
                          throws SDKException
        Description copied from interface: ReaderIntrface
        Sets TimeParameters for the selected Configuration Index. TimeParameters contains:
        • short iBitStrmTO:

          Wiegand read T/O after this msec time (4ms)

        • short iIDHoldTO:

          Card ID valid for this msec time (48ms)

        • short iIDLockOutTm:

          Squelch repetitive reader reports (usually > 1000) in msec (48msec gran.)

        • short iUSBKeyPrsTm:

          Sets USB inter-key 'Press' time in 4ms units

        • short iUSBKeyRlsTm:

          Sets USB inter-key 'Release' time in 4ms units

        • short ExFeatures01:

          Extended Features (big parity Azery ext precision)

        Specified by:
        SetTimeParms in interface ReaderIntrface
        Parameters:
        timeParameters - Object
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if input values are out of allowed range or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetTimeParms(int)
      • GetLEDControl

        public LEDControl GetLEDControl()
                                 throws java.lang.CloneNotSupportedException
        Description copied from interface: ReaderIntrface
        Get LEDControl information color red, green, amber, auto or off. LEDControl Contains:
        • boolean bAppCtrlsLED:

          It gives true if the control is set to auto mode

        • boolean iRedLEDState:

          It gives true if the LED state is set to Red color

        • boolean iGrnLEDState:

          It gives true if the LED state is set to Green color

        • Color of LED is AMBER when both iGRnLEDState and iRedLEDState are true and bAppCtrlsLED is false

        • LED is turned OFF when bAppCtrlsLED, iGRnLEDState and iRedLEDState are false

        Specified by:
        GetLEDControl in interface ReaderIntrface
        Returns:
        LEDControl Object
        Throws:
        java.lang.CloneNotSupportedException
        See Also:
        ReaderIntrface.SetLEDControl(LEDControl)
      • SetLEDControl

        public void SetLEDControl​(LEDControl ledControl)
                           throws SDKException
        Description copied from interface: ReaderIntrface
        Sets LEDControl information color red, green, amber, auto or off for the given configuration. LEDControl Contains:
        • boolean bAppCtrlsLED:

          It sets the control to auto mode

        • boolean iRedLEDState:

          It sets the LED state to Red color

        • boolean iGrnLEDState:

          It sets the LED state to Green color

        • Setting both iGRnLEDState and iRedLEDState to true and bAppCtrlsLED to false changes the LED to AMBER

        • Setting both iGRnLEDState and iRedLEDState to false will turn the LED OFF

        Specified by:
        SetLEDControl in interface ReaderIntrface
        Parameters:
        ledControl - LEDControl object
        Throws:
        SDKException - if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetLEDControl()
      • GetAZERTYShiftLock

        public boolean GetAZERTYShiftLock​(int configurationIndex)
                                   throws SDKException
        Description copied from interface: ReaderIntrface
        Get the state of the Shift Lock. Some keyboards such as French keyboards have a shift lock key in place of the US caps lock key. This affects how the top row of numbers and punctuation are usedThis sets the device configuration to the Factory Default values. It is
        Specified by:
        GetAZERTYShiftLock in interface ReaderIntrface
        Parameters:
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Returns:
        Boolean: the value of AzertyShiftLock (true if set, false if not)
        Throws:
        SDKException - if there is a failure in USB communication.
        See Also:
        ReaderIntrface.SetAZERTYShiftLock(boolean, int)
      • SetAZERTYShiftLock

        public void SetAZERTYShiftLock​(boolean AZERTYShiftLock,
                                       int configurationIndex)
                                throws SDKException
        Description copied from interface: ReaderIntrface
        Set the state of the Shift Lock. Some keyboards such as French keyboards have a shift lock key in place of the US caps lock key. This affects how the top row of numbers and punctuation are used.
        Specified by:
        SetAZERTYShiftLock in interface ReaderIntrface
        Parameters:
        AZERTYShiftLock - state of AZERTShift lock to be set: true or false
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetAZERTYShiftLock(int)
      • SetExtendedPrecisionMath

        public void SetExtendedPrecisionMath​(boolean extendedPrecisionMath,
                                             int configurationIndex)
                                      throws SDKException
        Description copied from interface: ReaderIntrface
        Set the state of the extended precision math flag. This affects the FAC value when it is longer than 32 bits. When off FAC values over 32 bits will not be displayed properly
        Specified by:
        SetExtendedPrecisionMath in interface ReaderIntrface
        Parameters:
        extendedPrecisionMath - of extendedPrecisionMath lock to be set: true or false
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetExtendedPrecisionMath(int)
      • GetSepFldData

        public void GetSepFldData​(int[] sepFldDataBuffer,
                                  int configurationIndex)
                           throws SDKException
        Description copied from interface: ReaderIntrface
        Get the FIPS 201 credentials and delimiters for all user defined fields. This is for pcProx or OEM Wiegand converter board that can read FIPS 201 CHUID's. Usually from 75 to 245 bits make up some or all of the FIPS 201 fields. OEM Readers such as the HID-G3 75 bit reader is support by the OEM converter board.
        Specified by:
        GetSepFldData in interface ReaderIntrface
        Parameters:
        sepFldDataBuffer - int buffer
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.SetSepFldData(int[], int)
      • SetSepFldData

        public void SetSepFldData​(int[] sepFldDataBuffer,
                                  int configurationIndex)
                           throws SDKException
        Description copied from interface: ReaderIntrface
        Set the FIPS 201 credentials and delimiters for all user defined fields. This is for pcProx or OEM Wiegand converter board that can read FIPS 201 CHUID's. Usually from 75 to 245 bits make up some or all of the FIPS 201 fields. OEM Readers such as the HID-G3 75 bit reader is supported by the OEM converter board
        Specified by:
        SetSepFldData in interface ReaderIntrface
        Parameters:
        sepFldDataBuffer - int buffer
        configurationIndex - 0..N-1, where N stands for maximum configuration
        Throws:
        SDKException - if configurationIndex exceeds maximum Config or if there is a failure in USB communication.
        See Also:
        ReaderIntrface.GetSepFldData(int[], int)
      • ReadSecureData

        public boolean ReadSecureData​(byte[] headerBuffer,
                                      byte[] dataBuffer)
                               throws SDKException
        Description copied from interface: ReaderIntrface
        This is to get and read the secure blob on a secure reader. Read the configuration as requested in header (blob details: Type, config, length, BSV).
        Specified by:
        ReadSecureData in interface ReaderIntrface
        Parameters:
        headerBuffer - pointer (reference) to byte buffer to send the blob details to reader.
        dataBuffer - pointer (reference) to byte buffer to get the data present on reader
        Returns:
        TRUE success / FALSE Fail
        Throws:
        SDKException
      • WriteSecureData

        public boolean WriteSecureData​(java.util.List<java.lang.String> blobBuffer,
                                       int blobLen)
                                throws SDKException,
                                       java.lang.InterruptedException
        Description copied from interface: ReaderIntrface
        This is to set and write the secure blob on a secure reader. Write the configuration as requested in header(blob details: Type, config, length, BSV).
        Specified by:
        WriteSecureData in interface ReaderIntrface
        Parameters:
        blobBuffer - reference to List buffer which is a to send the blob details and data to reader.
        blobLen - is the integer value for length of List buffer whose reference is sent.
        Returns:
        TRUE success / FALSE Fail
        Throws:
        SDKException
        java.lang.InterruptedException
      • LoadIniFile

        public boolean LoadIniFile​(java.io.FileInputStream IniInputStream)
                            throws java.io.IOException,
                                   SDKException,
                                   java.lang.InterruptedException
        Description copied from interface: ReaderIntrface
        Load the configuration in the reader which is mentioned in the file.
        Specified by:
        LoadIniFile in interface ReaderIntrface
        Parameters:
        IniInputStream - object an instance of FileInputStream created from a ini file
        Throws:
        SDKException - if there is a failure in USB communication.
        java.io.IOException
        java.lang.InterruptedException
      • getLibVersion

        public java.lang.String getLibVersion()
        Description copied from interface: ReaderIntrface
        Get the version of the library code. This does not communicate with any device. It returns the string from the BuildConfig file. The intended interpretation of the version name is Major.Minor.Build.Hotfix
        Specified by:
        getLibVersion in interface ReaderIntrface
        Returns:
        Version of the library code.
      • GetLastLibErr

        public byte GetLastLibErr()
        Description copied from interface: ReaderIntrface
        Returns the last library error code (see Library Error Codes) for the active device. The last error code is valid until another library call is made. This does not reset the last library error code. When a function returns FALSE and has failed, it is good practice to call this function to check the error code.
        Specified by:
        GetLastLibErr in interface ReaderIntrface
        Returns:
        byte error code value bits
        • 0x0002- READ_CFG_FAIL
        • 0x01- GET_ACTIVE_ID_FAIL
        • 0x0004- WRITE_CFG_FAIL
        See Also:
        SetActDev()
      • setLastLibErr

        public void setLastLibErr​(byte errCode)
      • GetActDev

        public int GetActDev()
        Description copied from interface: ReaderIntrface
        Return the current active device as an index into the list, 0..(GetDevCnt()-1). Note: The USB order of devices found can be random. Use the LUID to uniquely tag your devices. Then enumerate through the active device list for the LUID you need.
        Specified by:
        GetActDev in interface ReaderIntrface
        Returns:
        Active device 0..126