Package org.yamcs.simulator.pus
Class PusTmTimePacket
- java.lang.Object
-
- org.yamcs.tctm.CcsdsPacket
-
- org.yamcs.simulator.SimulatorCcsdsPacket
-
- org.yamcs.simulator.pus.PusTmTimePacket
-
public class PusTmTimePacket extends SimulatorCcsdsPacket
PUS time packet APID = 0 no secondary header data is composed ofrate exponential value - 1 byte = 2 (reporting time every 2^2 = 4 seconds) time - 8 byes crc - 2 bytes
-
-
Field Summary
-
Fields inherited from class org.yamcs.simulator.SimulatorCcsdsPacket
seqMap
-
Fields inherited from class org.yamcs.tctm.CcsdsPacket
bb
-
-
Constructor Summary
Constructors Constructor Description PusTmTimePacket()PusTmTimePacket(byte[] packet)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidfillChecksum()protected ByteBuffergetUserDataBuffer()-
Methods inherited from class org.yamcs.simulator.SimulatorCcsdsPacket
getSeq
-
Methods inherited from class org.yamcs.tctm.CcsdsPacket
getAPID, getAPID, getAPID, getByteBuffer, getBytes, getCccsdsPacketLength, getCccsdsPacketLength, getCccsdsPacketLength, getChecksumIndicator, getChecksumIndicator, getCoarseTime, getLength, getPacketID, getSecondaryHeaderFlag, getSecondaryHeaderFlag, getSequenceCount, getSequenceCount, getSequenceCount, getTimeId, setAPID, setCccsdsPacketLength, setHeader, setPacketID, setSequenceCount, toString
-
-
-
-
Method Detail
-
getUserDataBuffer
protected ByteBuffer getUserDataBuffer()
- Specified by:
getUserDataBufferin classSimulatorCcsdsPacket
-
fillChecksum
protected void fillChecksum()
- Specified by:
fillChecksumin classSimulatorCcsdsPacket
-
-