Package org.yamcs.sle

Class TmSleLink

java.lang.Object
com.google.common.util.concurrent.AbstractService
All Implemented Interfaces:
com.google.common.util.concurrent.Service, org.yamcs.jsle.user.FrameConsumer, SystemParametersProducer, SleLink, AggregatedDataLink, Link, LinkActionProvider, ParameterDataLink

public class TmSleLink extends AbstractTmSleLink
Receives TM frames via SLE. The Virtual Channel configuration is identical with the configuration of UdpTmFrameLink.

The SLE specific settings are loaded from sle.yaml based on the sleProvider key specified in the link configuration. The description of the sle.yaml configuration parameters are as follows:

Configuration Parameters
initiatorId identifier of the local application
responderPortId Responder Port Identifier
versionNumber the version number is sent in the bind invocation. We only support the version of the SLE valid in April-2019; however this field is not checked.
myUsername username that is passed in outgoing SLE messages. A corresponding password has to be specified (in hexadecimal) in the security.yaml file.
peerUsername username that is used to verify the incoming SLE messages. A corresponding password has to be specified (in hexadecimal) in the security.yaml file.
authLevel one of NONE, BIND or ALL - it configures which incoming and outgoing PDUs contain authentication information.
service One of RAF (return all frames) or RCF (return channel frames).
rcfTfVersion Specifies the requested frame version number (0=TM, 1=AOS, 12=USLP). If this option is not used, the frame version number will be derived from the frameType. If specfied, no validation is performed but sent as configured to the SLE provider.
rcfSpacecraftId Specifies the number sent as part of the RCF request to the SLE provider. If not specified the spacecraftId will be used.
rcfVcId Specifies the virtual channel sent as part of the RCF request. If not specified, or if negative, the request will be sent for all VCs
deliveryMode one of timely, or complete