Class UHFProfileParameter


  • public class UHFProfileParameter
    extends java.lang.Object
    Class which contains the metraTec uhf profile parameter
    Author:
    Matthias Neumann (neumann@metratec.com)
    • Method Detail

      • getDigitizerHysteresis

        public int getDigitizerHysteresis()
        Returns:
        the hysteresis value of the digitizer in 3dB steps [0..7]
      • setDigitizerHysteresis

        public void setDigitizerHysteresis​(int digitizerHysteresis)
        sets the hysteresis value of the digitizer
        Parameters:
        digitizerHysteresis - value in 3dB steps [0,7]
      • isDifferentialMixerGain

        public boolean isDifferentialMixerGain()
        Returns:
        the true if the 10dB Gain
      • setDifferentialMixerGain

        public void setDifferentialMixerGain​(boolean isDifferentialMixerGain)
        Parameters:
        isDifferentialMixerGain - 10dB Gain if true
      • isDeviceRatio8

        public boolean isDeviceRatio8()
        Returns:
        the true if device ratio is 8, else the device ratio is 64/3
      • setDeviceRatio8

        public void setDeviceRatio8​(boolean isDeviceRatio8)
        Parameters:
        isDeviceRatio8 - true to set the device ratio to 8, else the device ratio to 64/3
      • getHighPassFrequency

        public int getHighPassFrequency()
        Returns:
        the high pass frequency
      • setHighPassFrequency

        public void setHighPassFrequency​(int highPassFrequency)
        Sets the high pass frequency. Ideal value depends on Link Frequency. For 320 kHz values from 0 to 4 work best for most tags
        Parameters:
        highPassFrequency - the value to set [0,7]
      • getLinkFrequency

        public int getLinkFrequency()
        Returns:
        the linkFrequency 0: 40kHz, 6: 160kHz, 9: 256kHz, 12: 320kHz, 15: 640kHz
      • setLinkFrequency

        public void setLinkFrequency​(int linkFrequency)
        Sets the link frequency defined in the EPC Gen2 standard. The following values can be set: 0: 40kHz, 6: 160kHz, 9: 256kHz, 12: 320kHz, 15: 640kHz
        Parameters:
        linkFrequency - the linkFrequency to set {0, 6, 9, 12, 15}
      • getLowPassFrequency

        public int getLowPassFrequency()
        Returns:
        the low pass frequency, 0 for 640kHz, 4 for 320 kHz (default), 6 for 256 kHz and 7 for 160kHz and 40kHz
      • setLowPassFrequency

        public void setLowPassFrequency​(int lowPassFrequency)
        Sets the low pass frequency. Ideal value depends on Link Frequency. Suggested values are 0 for 640kHz, 4 for 320 kHz (default), 6 for 256 kHz and 7 for 160kHz and 40kHz
        Parameters:
        lowPassFrequency - the lowPassFrequency to set [0,7]
      • isMixerInputAttenuation

        public boolean isMixerInputAttenuation()
        Returns:
        the true if the mixer input attenuation is enable
      • setMixerInputAttenuation

        public void setMixerInputAttenuation​(boolean isMixerInputAttenuation)
        Sets the mixer input attenuation
        Parameters:
        isMixerInputAttenuation - true to enable the mixer input attenuation
      • getEncoding

        public int getEncoding()
        Returns:
        the tag encoding (0: FMO, 1: MILLER2, 2: MILLER4, 3: MILLER8)
      • setEncoding

        public void setEncoding​(int encoding)
        Sets the encoding of the tag answer
        Parameters:
        encoding - the encoding to set (0: FMO, 1: MILLER2, 2: MILLER4, 3: MILLER8)
      • getNoResponseWaitTime

        public int getNoResponseWaitTime()
        Returns:
        the no response wait time in 25,6µs steps [0,255]
      • setNoResponseWaitTime

        public void setNoResponseWaitTime​(int noResponseWaitTime)
        sets the no response wait time in 25,6µs steps [0,255]
        Parameters:
        noResponseWaitTime - the time to set [0,255]
      • isPRASK

        public boolean isPRASK()
        Returns:
        the true if PR-ASK is activated, else is DSB-ASK activated
      • setPRASK

        public void setPRASK​(boolean isPRASK)
        Parameters:
        isPRASK - set true to Activate Phase Reversal Amplitude Shift Keyed (PR-ASK) modulation otherwise Double Sideband Amplitude Shift Keyed (DSB-ASK)
      • getTransmitterPower

        public int getTransmitterPower()
        Returns:
        the transmitterPower in dBm
      • setTransmitterPower

        public void setTransmitterPower​(int transmitterPower)
        Parameters:
        transmitterPower - the transmitter power to set, allowed values depends on the reader type
      • getRxWaitTime

        public int getRxWaitTime()
        Returns:
        the time to wait before the receiver is activated in 6.4µs steps [0,255]
      • setRxWaitTime

        public void setRxWaitTime​(int rxWaitTime)
        Parameters:
        rxWaitTime - the time to wait before the receiver is activated. Multiplier is 6.4µs [0,255]
      • getReceiverGain

        public int getReceiverGain()
        Returns:
        the receiver gain, value must be multiplied by 3 dB
      • setReceiverGain

        public void setReceiverGain​(int receiverGain)
        Parameters:
        receiverGain - the receiver gain, internally multiplied by 3 dB
      • isSettlingSpeedUp

        public boolean isSettlingSpeedUp()
        Returns:
        the receiver settling speed up state
      • setSettlingSpeedUp

        public void setSettlingSpeedUp​(boolean isSettlingSpeedUp)
        Parameters:
        isSettlingSpeedUp - if true, the receiver reading a bit faster for most tags
      • getTari

        public int getTari()
        Returns:
        the tari value from EPC Gen2 (1 for 12.5µs, 2 for 25µs)
      • setTari

        public void setTari​(int tari)
        Parameters:
        tari - the Tari value from EPC Gen2: 1 for 12.5µs, 2 for 25µs
      • getTrcal

        public int getTrcal()
        Returns:
        the TRcal value from EPC Gen2. (e.g. if value = 667, the TRcal is 66.7µs)
      • setTrcal

        public void setTrcal​(int trcal)
        Parameters:
        trcal - the TRcal value from the EPC Gen2. Default is 66.7µs (value = 667)