ExperimentalContent

@Serializable
data class ExperimentalContent(val payload: ByteArray) : OtherContent

Experimental content type that will be removed in future releases. This is only for internal testing. Please do not use this in production.

This class encapsulates raw binary data for developmental testing purposes with the Satellite Message Protocol. It is tagged with ExperimentalApi to clearly indicate its non-stable status.

The payload already includes the subContent byte prefix, so no additional wrapping is needed during encoding.

Constructors

Link copied to clipboard
constructor(payload: ByteArray)

Properties

Link copied to clipboard

The type of content represented by this instance.

Link copied to clipboard

The raw binary data for experimental transmission.

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.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int