Represents the CoAP transmission parameters.
Note
mAckTimeout * ((2 ** (mMaxRetransmit + 1)) - 1) * (mAckRandomFactorNumerator / mAckRandomFactorDenominator) must not exceed what can be represented by a uint32_t (0xffffffff). This limitation allows OpenThread to avoid 64-bit arithmetic.
Public Attributes#
Minimum spacing before first retransmission when ACK is not received, in milliseconds (RFC7252 default value is 2000ms).
Numerator of ACK_RANDOM_FACTOR used to calculate maximum spacing before first retransmission when ACK is not received (RFC7252 default value of ACK_RANDOM_FACTOR is 1.5; must not be decreased below 1).
Denominator of ACK_RANDOM_FACTOR used to calculate maximum spacing before first retransmission when ACK is not received (RFC7252 default value of ACK_RANDOM_FACTOR is 1.5; must not be decreased below 1).
Maximum number of retransmissions for CoAP Confirmable messages (RFC7252 default value is 4).
Public Attribute Documentation#
mAckTimeout#
uint32_t otCoapTxParameters::mAckTimeout
Minimum spacing before first retransmission when ACK is not received, in milliseconds (RFC7252 default value is 2000ms).
462
of file include/openthread/coap.h
mAckRandomFactorNumerator#
uint8_t otCoapTxParameters::mAckRandomFactorNumerator
Numerator of ACK_RANDOM_FACTOR used to calculate maximum spacing before first retransmission when ACK is not received (RFC7252 default value of ACK_RANDOM_FACTOR is 1.5; must not be decreased below 1).
469
of file include/openthread/coap.h
mAckRandomFactorDenominator#
uint8_t otCoapTxParameters::mAckRandomFactorDenominator
Denominator of ACK_RANDOM_FACTOR used to calculate maximum spacing before first retransmission when ACK is not received (RFC7252 default value of ACK_RANDOM_FACTOR is 1.5; must not be decreased below 1).
476
of file include/openthread/coap.h
mMaxRetransmit#
uint8_t otCoapTxParameters::mMaxRetransmit
Maximum number of retransmissions for CoAP Confirmable messages (RFC7252 default value is 4).
482
of file include/openthread/coap.h