SetQuotaRequest

@Serializable
data class SetQuotaRequest(val currentMessagingQuota: Long, val currentTrackingQuota: Long, val currentSOSService: Int, val currentExpiryTime: SmpTimestamp, val currentUpdatedAt: SmpTimestamp, val newMessagingQuota: Long, val newTrackingQuota: Long, val newSOSService: Int, val newExpiryTime: SmpTimestamp, val newUpdatedAt: SmpTimestamp, val currentMessagingUsage: Long, val currentTrackingUsage: Long, val usageUpdatedAt: SmpTimestamp) : BleDeviceRequest

Represents a request to update service quotas on a device in the BLE Satellite Protocol by Tinno.

This class encapsulates a request to update the various service quotas and usage limits on a satellite device, including both current values and new values to be set. The request includes messaging and tracking quotas, SOS service availability, expiration times, and current usage statistics.

Constructors

Link copied to clipboard
constructor(currentMessagingQuota: Long, currentTrackingQuota: Long, currentSOSService: Int, currentExpiryTime: SmpTimestamp, currentUpdatedAt: SmpTimestamp, newMessagingQuota: Long, newTrackingQuota: Long, newSOSService: Int, newExpiryTime: SmpTimestamp, newUpdatedAt: SmpTimestamp, currentMessagingUsage: Long, currentTrackingUsage: Long, usageUpdatedAt: SmpTimestamp)

Properties

Link copied to clipboard

The current expiration timestamp for the service plan.

Link copied to clipboard

The current messaging data quota in bytes.

Link copied to clipboard

The current amount of messaging data used, in bytes.

Link copied to clipboard

The current SOS service status value.

Link copied to clipboard

The current location tracking data quota in bytes.

Link copied to clipboard

The current amount of tracking data used, in bytes.

Link copied to clipboard

The timestamp when the current quotas were last updated.

Link copied to clipboard

The new expiration timestamp for the service plan.

Link copied to clipboard

The new messaging data quota to set, in bytes.

Link copied to clipboard

The new SOS service status value to set.

Link copied to clipboard

The new location tracking data quota to set, in bytes.

Link copied to clipboard

The timestamp for when these new values should be considered updated.

Link copied to clipboard

The operation code that identifies the type of request.

Link copied to clipboard

The timestamp when the usage statistics were last updated.