SmpTimestamp

@Serializable
data class SmpTimestamp

Represents a timestamp used in Satellite Message Protocol (SMP) communications.

This class stores timestamps with second-level precision while providing convenience methods to create timestamps from the current time or from millisecond-based timestamps. The private constructor ensures timestamps are created via the factory methods in the companion object.

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The timestamp value in milliseconds, derived from the seconds-based timestamp.

Link copied to clipboard

The Unix epoch timestamp in seconds.