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

PUS Command Postprocessor

A postprocessor for handling ECSS PUS commands, according to ECSS-E-ST-70-41C.

This postprocessor will set the length and sequence count in the CCSDS primary header. If configured, it can also calculate a checksum.

Class Name

org.yamcs.pus.PusCommandPostprocessor

Configuration Options

errorDetection (map)

If specified, a checksum is appended at the end of each command. Detailed below.

Error Detection sub-configuration

type (string)

Required. Can take one of the values:

  • 16-SUM: calculates a 16 bits checksum over the entire packet which has to contain an even number of bytes. This checksum is used in Columbus/ISS data.

  • CRC-16-CCIIT: standard CRC algorithm used in PUS and also in CCSDS standards for frame encoding.

  • ISO-16: specified in PUS as alternative to CRC-16-CCIIT.

  • NONE: no error detection will be used, this is the default if the errorDetection map is not present.

initialValue (integer)

Used when the type is CRC-16-CCIIT to specify the initial value used for the algorithm. Default: 0xFFFF.