- General Information
- Server Administration
- Mission Database
- Data Management
- Data Links
- Processors
- Commanding
- Services
- Security
- Web Interface
- Programs
Extending Yamcs
Appendices
Yamcs Release Notes
Yamcs HTTP API
Source Code Documentation
TCP TC/TM Data Link¶
Connects to a TCP socket, sending telecommands and receiving a stream of telemetry.
Class Name¶
Configuration¶
Data links are configured in etc/yamcs.instance.yaml
. Example:
dataLinks:
- name: tctm
class: org.yamcs.tctm.TcpTcTmDataLink
tmStream: tm_realtime
tcStream: tc_realtime
host: 127.0.0.1
port: 10010
commandPostprocessorClassName: org.yamcs.tctm.GenericCommandPostprocessor
packetInputStreamClassName: org.yamcs.tctm.CcsdsPacketInputStream
packetPreprocessorClassName: org.yamcs.tctm.GenericPacketPreprocessor
packetPreprocessorArgs:
timestampOffset: 2
seqCountOffset: 10
errorDetection:
type: "CRC-16-CCIIT"
Configuration Options¶
- tcStream (string)
Required. The stream where outgoing data (telecommands) is emitted
- tmStream (string)
Required. The stream where incoming data (telemetry) is emitted
- host (string)
Required. The host of the remote system
- port (integer)
Required. The TCP port to connect to
- commandPostprocessorClassName (string)
Class name of a Command Postprocessor implementation. Default is org.yamcs.tctm.GenericCommandPostprocessor.
- commandPostprocessorArgs (map)
Optional args of arbitrary complexity to pass to the command postprocessor. Each postprocessor may support different options.
- packetInputStreamClassName (string)
Class name of a Packet Input Stream. Default is org.yamcs.tctm.GenericPacketInputStream configured to read CCSDS Packets.
- packetInputStreamArgs (map)
Optional args of arbitrary complexity to pass to the PacketInputStream. Each PacketInputStream may support different options.
- packetPreprocessorClassName (string)
Class name of a Packet Preprocessor implementation. Default is org.yamcs.tctm.IssPacketPreprocessor which applies ISS conventions.
- packetPreprocessorArgs (map)
Optional args of arbitrary complexity to pass to the packet preprocessor. Each preprocessor may support different options.