Retransmit

@Serializable
data class Retransmit(val count: UByte, val interval: Duration)

The retransmit object is used to describe the number of times a message is published and the interval between retransmissions of the published messages.

Constructors

Link copied to clipboard
constructor(count: UByte, intervalSteps: UByte)

Creates the Retransmit object.

constructor(count: UByte, interval: Duration)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

An integer from 0 to 7 that represents the number of retransmissions for published messages. A value of 0 represents no retransmissions.

Link copied to clipboard

The interval property contains an integer from 50 to 1600, with a resolution of 50, that represents the interval in milliseconds between the transmissions.

Link copied to clipboard

Retransmission steps, from 0 to 31. Use interval to get the interval in ms.