Class PusTmPacket

java.lang.Object
org.yamcs.tctm.CcsdsPacket
org.yamcs.simulator.SimulatorCcsdsPacket
org.yamcs.simulator.pus.PusTmPacket

public class PusTmPacket extends SimulatorCcsdsPacket
TM packets according to PUS standard ECSS-E-ST-70-41C 15 April 2016
 Secondary header (16 bytes)
 
  version number - 4 bits
  spacecraft time reference status - 4 bits
  service type  -   8 bits
  message subtype  - 8 bits
  message type counter - 16 bits
  destination Id - 16 bits
  time - variable size but we use 9 bytes
 
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected static HashMap<Integer,AtomicInteger>
     
    static final int
     
    static final int
     

    Fields inherited from class org.yamcs.simulator.SimulatorCcsdsPacket

    seqMap

    Fields inherited from class org.yamcs.tctm.CcsdsPacket

    bb
  • Constructor Summary

    Constructors
    Constructor
    Description
    PusTmPacket(byte[] packet)
     
    PusTmPacket(int apid, int userDataLength, int type, int subtype)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
     
    protected static int
    getCount(int apid)
     
     
    void
    setSubtype(int subtype)
     
    void
    setType(int type)
     

    Methods inherited from class org.yamcs.simulator.SimulatorCcsdsPacket

    getSeq

    Methods inherited from class org.yamcs.tctm.CcsdsPacket

    appendBinaryData, getAPID, getAPID, getAPID, getByteBuffer, getBytes, getCccsdsPacketLength, getCccsdsPacketLength, getCccsdsPacketLength, getCcsdsPacketLength, getCcsdsPacketLength, getCcsdsPacketLength, getChecksumIndicator, getChecksumIndicator, getCoarseTime, getLength, getSecondaryHeaderFlag, getSecondaryHeaderFlag, getSequenceCount, getSequenceCount, getSequenceCount, getTimeId, setAPID, setCccsdsPacketLength, setCcsdsPacketLength, setHeader, setSequenceCount, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

    • PusTmPacket

      public PusTmPacket(byte[] packet)
    • PusTmPacket

      public PusTmPacket(int apid, int userDataLength, int type, int subtype)
  • Method Details