When I first wrote AprsPacketPreprocessor.java, I just got it work for the OreSat0 beacon. It's currently hard-coded for OreSat0, it should be generalized.
What needs to happen:
AprsPacketPreprocessor.java should be rename to Ax25PacketPreprocessor.java.
All the AX25 headers info should be in the configs forAx25PacketPreprocessor.java constructors, therefor the configs can be set in yamcs.<instantance>.yaml.
Then check the Ax25 header for those configs in process(TmPacket tmPacket).
When I first wrote
AprsPacketPreprocessor.java
, I just got it work for the OreSat0 beacon. It's currently hard-coded for OreSat0, it should be generalized.What needs to happen:
AprsPacketPreprocessor.java
should be rename toAx25PacketPreprocessor.java
.Ax25PacketPreprocessor.java
constructors, therefor the configs can be set inyamcs.<instantance>.yaml
.process(TmPacket tmPacket)
.Helpful ax25 resource : https://notblackmagic.com/bitsnpieces/ax.25/