org.llrp.ltk.types
Class TVParameter
java.lang.Object
org.llrp.ltk.types.LLRPParameter
org.llrp.ltk.types.TVParameter
- Direct Known Subclasses:
- AccessSpecID, AntennaID, C1G2_CRC, C1G2_PC, C1G2SingulationDetails, ChannelIndex, EPC_96, FirstSeenTimestampUptime, FirstSeenTimestampUTC, InventoryParameterSpecID, LastSeenTimestampUptime, LastSeenTimestampUTC, OpSpecID, PeakRSSI, ROSpecID, SpecIndex, TagSeenCount
public abstract class TVParameter
- extends LLRPParameter
TV Parameter do not encode length as the length is implicitly given by the
type TV parameter have type values from 0 to 127 TV Parameters encode the
length of a parameter when encoded. The binary encoding Is always: Reserved
(Bit set to 1) Parameter Type (7 Bits) | Parameter Value
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAMETERTYPELENGTH
protected static final int PARAMETERTYPELENGTH
- See Also:
- Constant Field Values
TVParameter
public TVParameter()
decodeBinary
public void decodeBinary(LLRPBitList bits)
- decodeBinary should be called from Constructor Taking binary encoded
parameter as argument.
- Specified by:
decodeBinary
in class LLRPParameter
- Parameters:
bits
- to be decoded
- Throws:
LLRPException
- in case of any error or unexpected behaviour
encodeBinary
public LLRPBitList encodeBinary()
- encode parameter
- Specified by:
encodeBinary
in class LLRPParameter
- Returns:
- LLRPBitList
decodeBinarySpecific
protected abstract void decodeBinarySpecific(LLRPBitList binary)
- function to be implemented
- Parameters:
binary
- binary representation of this parameter
encodeBinarySpecific
protected abstract LLRPBitList encodeBinarySpecific()
- protected method to force subclasses to implement their specific encoding
- Returns:
- LLRPBitList
Copyright © 2007 ETH Zurich.