/  Yamcs Server Manual  /  Data Links  /  Command Postprocessor  /  cFS Command Postprocessor

cFS Command Postprocessor

A postprocessor for handling NASA (National Aeronautics and Space Administration) cFS packets.

cFS command headers consist of a primary CCSDS Space Packet header (6 bytes), function code (1 byte), and checksum (1 byte).

This postprocessor will set the length and sequence count in the CCSDS primary header, and the checksum in the cFS secondary header.

Class Name

org.yamcs.tctm.cfs.CfsCommandPostprocessor

Configuration

dataLinks:
  - name: tc-out
    # ...
    commandPostprocessorClassName: org.yamcs.tctm.cfs.CfsCommandPostprocessor
    commandPostprocessorArgs:
      swapChecksumFc: true

Configuration Options

swapChecksumFc (boolean)

Whether to swap the location of the checksum and the function code.

This may be needed when using cFS prior to this commit on little endian systems.

Default: false.

seqCounterName (string)

Name of a shared CCSDS sequence counter. By default each link maintains its own per-APID sequence counter independently of all other links. When two or more links specify the same seqCounterName they share a single per-APID counter, so the target receives a continuous sequence across those links.

If not specified, the counter is local to this link.