SmpContent

@Serializable
sealed class SmpContent

Abstract sealed class representing different types of content that can be transmitted via SMP.

This class serves as the base for all content types in the Satellite Message Protocol, defining common properties and functionality shared across all content messages. The sealed nature ensures all possible content types are known at compile time.

Inheritors

Types

Link copied to clipboard

Enumeration of content types supported in the Satellite Message Protocol.

Link copied to clipboard

Enumeration of control flags used with content requests.

Link copied to clipboard
sealed class Decoder<out T : SmpContent>

Properties

Link copied to clipboard

The type of content represented by this instance.

Functions

Link copied to clipboard
fun createSmpHeader(messageCounter: Int, eventTimestamp: SmpTimestamp, version: Int = 1, ackFlag: Boolean = false): SmpHeader

Creates an SMP header for this content.