Package jmri.jmrix.ieee802154
Class IEEE802154Reply
java.lang.Object
jmri.jmrix.AbstractMessage
jmri.jmrix.AbstractMRReply
jmri.jmrix.ieee802154.IEEE802154Reply
- All Implemented Interfaces:
Message
- Direct Known Subclasses:
XBeeReply
Contains the data payload of a serial reply packet. Note that it's _only_ the
payload.
-
Field Summary
Fields inherited from class jmri.jmrix.AbstractMRReply
DEFAULTMAXSIZEFields inherited from class jmri.jmrix.AbstractMessage
_dataChars, _nDataChars -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionbooleancheck whether the message has a valid parity IEEE 802.15.4 messages have a two byte parity.byte[]intintintbyte[]bytebyte[]intbooleanprotected intskipPrefix(int index) Methods inherited from class jmri.jmrix.AbstractMRReply
flush, getOpCode, isBinary, isRetransmittableErrorMsg, isUnsolicited, match, maxSize, pollValue, setBinary, setElement, setOpCode, setUnsolicited, skipWhiteSpace, toString, valueMethods inherited from class jmri.jmrix.AbstractMessage
equals, getElement, getNumDataElements, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface jmri.jmrix.Message
toMonitorString
-
Constructor Details
-
IEEE802154Reply
public IEEE802154Reply() -
IEEE802154Reply
-
IEEE802154Reply
-
-
Method Details
-
getDestinationAddress
-
getSourceAddr
-
getPayload
-
getLength
-
getFrameControl
-
getDestinationAddressMode
-
getSourceAddressMode
-
isIntraPanFrame
-
getSequenceByte
-
skipPrefix
- Specified by:
skipPrefixin classAbstractMRReply
-
checkParity
check whether the message has a valid parity IEEE 802.15.4 messages have a two byte parity.- Returns:
- true if parity valid
-