UpdateIMSIContent

@Serializable
data class UpdateIMSIContent(val userId: Long, val imsi: Long) : SmpContent

Represents ContentUpdateIMSI message content in the Satellite Message Protocol.

This class encapsulates a ContentUpdateIMSI which is used to inform the server of the IMSI linked to a user.

Constructors

Link copied to clipboard
constructor(userId: Long, imsi: Long)

Properties

Link copied to clipboard

The type of content represented by this instance.

Link copied to clipboard
val imsi: Long

The IMSI (International Mobile Subscriber Identity) of the device.

Link copied to clipboard

The unique identifier of the message sender/recipient. Typically represented as a numeric mobile number (e.g., 11234567890 for the formatted number +1 123 456 7890).

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.