Class FixedValues
-
- All Implemented Interfaces:
public final class FixedValues
-
-
Field Summary
Fields Modifier and Type Field Description private final ByteArraymagicBytesprivate final ByteArraycontrolBytesWithChecksumprivate final ByteArraycontrolBytesWithoutChecksum
-
Constructor Summary
Constructors Constructor Description FixedValues(ByteArray magicBytes, ByteArray controlBytesWithChecksum, ByteArray controlBytesWithoutChecksum)
-
Method Summary
Modifier and Type Method Description final ByteArraygetMagicBytes()final ByteArraygetControlBytesWithChecksum()final ByteArraygetControlBytesWithoutChecksum()Booleanequals(Object other)IntegerhashCode()-
-
Constructor Detail
-
FixedValues
FixedValues(ByteArray magicBytes, ByteArray controlBytesWithChecksum, ByteArray controlBytesWithoutChecksum)
- Parameters:
magicBytes- The magic bytes section of the RSCP HeadercontrolBytesWithChecksum- String in hex format that is used for the ControlByte section in an RSCP frame when CRC checksums are active.controlBytesWithoutChecksum- String in hex format used for the ControlByte section in an RSCP frame when CRC checksums are NOT active.
-
-
Method Detail
-
getMagicBytes
final ByteArray getMagicBytes()
-
getControlBytesWithChecksum
final ByteArray getControlBytesWithChecksum()
-
getControlBytesWithoutChecksum
final ByteArray getControlBytesWithoutChecksum()
-
-
-
-