Yamcs Server Manual
- General Information
- Server Administration
- Mission Database
- Data Management
- Data Links
- Processors
- Commanding
- Services
- Security
- Web Interface
- Programs
Extending Yamcs
Appendices
Related
Yamcs Release Notes
Yamcs HTTP API
Source Code Documentation
Download this Document
Fixed-length Packet Input Stream¶
Splits a stream of packets, by assuming that each packet has a fixed length in bytes.
For example, when receiving the following byte fragments:
+---+----+------+----+
| A | BC | DEFG | HI |
+---+----+------+----+
A fixed-length packet input stream at 3 bytes, will identify the following packets:
+-----+-----+-----+
| ABC | DEF | GHI |
+-----+-----+-----+
Class Name¶
Configuration¶
This can be used in the configuration of a stream-based packet data link in etc/yamcs.instance.yaml
. Example:
dataLinks:
- name: file-in
class: org.yamcs.tctm.FilePollingTmDataLink
stream: tm_dump
incomingDir: incoming/
packetInputStreamClassName: org.yamcs.tctm.FixedPacketInputStream
packetInputStreamArgs:
packetSize: 50
# ...
Configuration Options¶
- packetSize (integer)
Required. Size of each packet in bytes