
org.yamcs.mqtt.MqttToFrameConverter Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of yamcs-mqtt Show documentation
Show all versions of yamcs-mqtt Show documentation
Data links for connecting Yamcs to MQTT providers (such as LeafSpace ground stations).
The newest version!
package org.yamcs.mqtt;
import org.eclipse.paho.client.mqttv3.MqttMessage;
import org.yamcs.YConfiguration;
import org.yamcs.time.Instant;
/**
* Instances of this interfaces are run on the incoming MQTT messages to transform them to CCSDS TM frames
*/
public interface MqttToFrameConverter {
/**
* Called at initialisation; the config may be empty but won't be null.
*/
void init(String yamcsInstance, String linkName, YConfiguration config);
Iterable convert(MqttMessage message);
}
record RawFrame(Instant ert, byte[] data) {
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy