Network Ack Content
@Serializable
Represents a network acknowledgement message content in the Satellite Message Protocol.
This class encapsulates a network acknowledgement message, which is used to confirm the client that a message has been received. The server can configure this message to be sent based on conditions such as when the ackFlag in the SMP Header is set to 1.
Properties
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
Extension function to generate a MessageId from a NetworkAckContent