SmpHeader

@Serializable
data class SmpHeader

Represents the header portion of an SMP (Satellite Message Protocol) message.

The header contains metadata about the message including protocol version, content type, sequence number, and timestamp. This class uses an internal constructor to ensure headers are created through appropriate factory methods.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The timestamp when the message event occurred.

Link copied to clipboard

A sequence number used to track and order messages.

Link copied to clipboard

The type of content contained in the message body.

Link copied to clipboard

The protocol version flag byte, defaulting to the current supported version.

Functions

Link copied to clipboard

Extension function to generate a MessageId from an SmpHeader.