All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yamcs.mqtt.MqttToFrameConverter Maven / Gradle / Ivy

Go to download

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